mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-23 15:23:28 +00:00
Update post-installation message on container downloads
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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\""
|
||||||
|
Reference in New Issue
Block a user