Created
September 19, 2016 09:47
-
-
Save Pe46dro/a6e26ce6c3bc6d0a70ff8053d80b5a3c to your computer and use it in GitHub Desktop.
NextCloudVM - Start Script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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