Comment updates and output suppression for xdg-ope
This commit is contained in:
parent
39f51b26d8
commit
175d743c32
@ -229,7 +229,7 @@ EOF
|
|||||||
# configure the LXD Daemon with our preseed.
|
# configure the LXD Daemon with our preseed.
|
||||||
cat "$CLUSTER_MASTER_LXD_INIT" | ssh "ubuntu@$FQDN" lxd init --preseed
|
cat "$CLUSTER_MASTER_LXD_INIT" | ssh "ubuntu@$FQDN" lxd init --preseed
|
||||||
|
|
||||||
# not ensure the service is active on the remote host.
|
# ensure the lxd service is available over the network, then add a lxc remote, then switch the active remote to it.
|
||||||
if wait-for-it -t 20 "$FQDN:8443"; then
|
if wait-for-it -t 20 "$FQDN:8443"; then
|
||||||
# now create a remote on your local LXC client and switch to it.
|
# now create a remote on your local LXC client and switch to it.
|
||||||
# the software will now target the new cluster.
|
# the software will now target the new cluster.
|
||||||
|
@ -85,14 +85,14 @@ if [ "$RUN_SERVICES" = true ]; then
|
|||||||
|
|
||||||
# open bowser tabs.
|
# open bowser tabs.
|
||||||
if [ "$DEPLOY_GHOST" = true ]; then
|
if [ "$DEPLOY_GHOST" = true ]; then
|
||||||
xdg-open "http://$FQDN"
|
xdg-open "http://$FQDN" > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$DEPLOY_NEXTCLOUD" = true ]; then
|
if [ "$DEPLOY_NEXTCLOUD" = true ]; then
|
||||||
xdg-open "http://$NEXTCLOUD_FQDN"
|
xdg-open "http://$NEXTCLOUD_FQDN" > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$DEPLOY_GITEA" = true ]; then
|
if [ "$DEPLOY_GITEA" = true ]; then
|
||||||
xdg-open "http://$GITEA_FQDN"
|
xdg-open "http://$GITEA_FQDN" > /dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user