Update post-installation message on container downloads

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (OpenFaaS Ltd)
2025-02-19 11:16:06 +00:00
parent ae4d0a97f8
commit 120a34cfef
2 changed files with 10 additions and 3 deletions

View File

@ -84,11 +84,17 @@ func runInstall(_ *cobra.Command, _ []string) error {
return err return err
} }
fmt.Println(`Check status with: fmt.Println(`
The initial setup downloads various container images, which may take a
minute or two depending on your connection.
Check the status of the faasd service with:
sudo journalctl -u faasd --lines 100 -f sudo journalctl -u faasd --lines 100 -f
Login with: Login with:
sudo -E cat /var/lib/faasd/secrets/basic-auth-password | faas-cli login -s`) sudo -E cat /var/lib/faasd/secrets/basic-auth-password | faas-cli login -s
`)
return nil return nil
} }

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
# Copyright OpenFaaS Ltd 2025
set -e # stop on error set -e # stop on error
set -o pipefail set -o pipefail
@ -104,7 +106,6 @@ echo ""
echo "sudo mkdir -p /var/lib/faasd/secrets" echo "sudo mkdir -p /var/lib/faasd/secrets"
echo "sudo nano /var/lib/faasd/secrets/openfaas_license" echo "sudo nano /var/lib/faasd/secrets/openfaas_license"
echo "" echo ""
echo ""
echo "4. Then perform the final installation steps" echo "4. Then perform the final installation steps"
echo "" echo ""
echo "sudo -E sh -c \"cd ${tmpdir}/var/lib/faasd && faasd install\"" echo "sudo -E sh -c \"cd ${tmpdir}/var/lib/faasd && faasd install\""