Skip to content

Instantly share code, notes, and snippets.

@Pe46dro
Created September 19, 2016 09:47
Show Gist options
  • Save Pe46dro/a6e26ce6c3bc6d0a70ff8053d80b5a3c to your computer and use it in GitHub Desktop.
Save Pe46dro/a6e26ce6c3bc6d0a70ff8053d80b5a3c to your computer and use it in GitHub Desktop.
NextCloudVM - Start Script
#!/bin/bash
echo
# Ask for domain name
cat << ENTERDOMAIN
+---------------------------------------------------------------+
| Please enter the domain name you will use for Nextcloud: |
| Like this: example.com, or nextcloud.example.com (1/2) |
+---------------------------------------------------------------+
ENTERDOMAIN
echo
read domain
echo "Domain in this script: $domain"
bash ./test.sh $domain.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment