[fix] Update packages before setting highstate on salt startup in case it updates

This commit is contained in:
William Wernert
2020-04-30 08:51:38 -04:00
parent 1f030160b0
commit a281f59319

View File

@@ -432,12 +432,12 @@ export percentage=0
filter_unused_nics 2>> "$setup_log"
network_setup 2>> "$setup_log"
set_progress_str 86 'Enabling checkin at boot'
checkin_at_boot 2>> "$setup_log"
set_progress_str 90 'Updating packages'
set_progress_str 86 'Updating packages'
update_packages 2>> "$setup_log"
set_progress_str 90 'Enabling checkin at boot'
checkin_at_boot 2>> "$setup_log"
set_progress_str 95 'Verifying setup'
salt-call -l info state.highstate >> $setup_log 2>&1