Make domain optional in cloudron-setup

This commit is contained in:
Johannes Zellner
2017-01-04 16:36:15 +01:00
parent 7eeb8bcac1
commit 1764567e1f

View File

@@ -65,11 +65,6 @@ done
# validate arguments in the absence of data
if [[ -z "${dataJson}" ]]; then
if [[ -z "${domain}" ]]; then
echo "--domain is required"
exit 1
fi
if [[ -z "${provider}" ]]; then
echo "--provider is required (generic, scaleway, ec2, digitalocean)"
exit 1