feat: set the debconf value for the global hostname

This commit is contained in:
Jose Diaz-Gonzalez committed 2019-07-18 00:24:24 -04:00
1 parent 9b67ffe9d4
commit ea32544e37
1 file changed
+1
+1
View File
@@ -39,6 +39,7 @@ main() {
fi
if [[ -n "$DOKKU_HOSTNAME" ]]; then
echo "dokku dokku/hostname string $DOKKU_HOSTNAME" | debconf-set-selections
echo "dokku dokku/vhost_enable boolean true" | debconf-set-selections
dokku --quiet domains:set-global "$DOKKU_HOSTNAME"
fi