aws: Install all available updates first

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-08-15 10:11:08 +01:00
parent 647ca912a2
commit 0ed9b77099

View File

@@ -111,6 +111,9 @@ import_aws_configuration() {
# Download the user-data script only on the first boot
if [ ! -e "/var/ipfire/main/firstsetup_ok" ]; then
# Install all available updates
pakfire update && pakfire upgrade -y
# Download user-data
local user_data="$(get user-data)"