From 722b1dd4377a9b3f8a6b2cf8e002faf4155e2139 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Tue, 12 Apr 2022 17:30:13 +0700 Subject: [PATCH] Add post-install instructions --- scripts/install | 93 ++++++++++++++++++++++++++----------------------- 1 file changed, 49 insertions(+), 44 deletions(-) diff --git a/scripts/install b/scripts/install index 4b76247..2eeb0d1 100755 --- a/scripts/install +++ b/scripts/install @@ -83,49 +83,6 @@ bootstrap() { bash -s -- --bootstrapped $arguments } -print_warning_message() { - cat << 'EOF' - - ,;###GGGGGGGGGGl#Sp - ,##GGGlW""^' '`""%GGGG#S, - ,#GGG" "lGG#o - #GGl^ '$GG# - ,#GGb \GGG, - lGG" "GGG - #GGGlGGGl##p,,p##lGGl##p,,p###ll##GGGG - !GGGlW"""*GGGGGGG#""""WlGGGGG#W""*WGGGGS - "" "^ '" "" - - - @GGS lG# - !GGG !GGG - !GGG !GGG - !GGG !GGG - !GGG !GGG - !GGG !GGG - 'GGG $GGl - "GGG#psqp##GG# - "%GGGGGG#" - -Thanks for trying out Umbrel! - -This install script is for advanced users who already have an existing system they want to install Umbrel on. We recommend running Umbrel OS on a Raspberry Pi for the best experience. - -Umbrel is currently in beta and is not yet safe to be exposed to the internet, it should only be run on a secure private network. - -This installation method assumes a fresh Debian install. If you already have Docker or Docker Compose installed you may wish to exclude them with --no-install-docker or --no-install-compose. - -You can pass flags to the installer like this: - - curl -L https://umbrel.sh | bash -s -- --no-install-docker --no-install-compose - -Sleeping for 30 seconds... - -You may press Ctrl+C now to abort the install. -EOF - sleep 30 -} - update_apt() { sudo apt-get update } @@ -175,7 +132,46 @@ main() { if [[ "${PRINT_WARNING}" = "true" ]] then - print_warning_message + cat << 'EOF' + + ,;###GGGGGGGGGGl#Sp + ,##GGGlW""^' '`""%GGGG#S, + ,#GGG" "lGG#o + #GGl^ '$GG# + ,#GGb \GGG, + lGG" "GGG + #GGGlGGGl##p,,p##lGGl##p,,p###ll##GGGG + !GGGlW"""*GGGGGGG#""""WlGGGGG#W""*WGGGGS + "" "^ '" "" + + + @GGS lG# + !GGG !GGG + !GGG !GGG + !GGG !GGG + !GGG !GGG + !GGG !GGG + 'GGG $GGl + "GGG#psqp##GG# + "%GGGGGG#" + +Thanks for trying out Umbrel! + +This install script is for advanced users who already have an existing system they want to install Umbrel on. We recommend running Umbrel OS on a Raspberry Pi for the best experience. + +Umbrel is currently in beta and is not yet safe to be exposed to the internet, it should only be run on a secure private network. + +This installation method assumes a fresh Debian install. If you already have Docker or Docker Compose installed you may wish to exclude them with --no-install-docker or --no-install-compose. + +You can pass flags to the installer like this: + + curl -L https://umbrel.sh | bash -s -- --no-install-docker --no-install-compose + +Sleeping for 30 seconds... + +You may press Ctrl+C now to abort the install. +EOF + sleep 30 fi if [[ "${INSTALL_UMBREL}" = "true" ]] @@ -216,6 +212,15 @@ main() { if [[ "${INSTALL_UMBREL}" = "true" ]] then install_umbrel + + cat << EOF + +Umbrel has been sucessfully installed! + +You can start Umbrel with "sudo ${UMBREL_INSTALL_PATH}/scripts/start". + +You may want to setup a system service that runs "./scripts/start" and "./scripts/stop" at system startup/shutdown. +EOF fi }