10
9
env LOGFILE=/var/log/maas/clusterd.log
21
12
# Exit immediately on error, and treat unset variables as errors. In
22
13
# sh/dash, unfortunately, the following does not cause the use of an unset
23
14
# variable to halt the script, it merely prints an error and sets $?.
24
15
set -o errexit -o nounset
31
16
# Check for the shared-secret. If it's not here, sleep for a while, then
32
17
# exit and allow respawn to do its thing.
33
18
if ! maas-provision check-for-shared-secret >/dev/null; then