wait_for 10 "salt -C 'E@^(?!cfg01|mas01|kvm|cmp00).*' ssh.set_auth_key ${SUDO_USER} \
$(awk 'NR==1{print $2}' "$(eval echo "~${SUDO_USER}/.ssh/authorized_keys")")"
-# Get the latest packages
-wait_for 10 "! salt '*' pkg.upgrade refresh=False | " \
+# Get the latest packages for openstack nodes
+wait_for 10 "! salt -C 'E@^(?!cfg01|mas01|kvm).*' pkg.upgrade refresh=False | " \
"tee /dev/stderr | fgrep -q 'Not connected'"
salt -C 'I@salt:master' state.sls linux
salt -C '* and not cfg01*' state.sls linux
+ salt -C '* and not cfg01*' pkg.upgrade refresh=False
salt '*' state.sls ntp
-
- salt '*' pkg.upgrade refresh=False
SALT_INSTALL_END