From 0ed9b77099321c4addd0b91121194d90322242ed Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 15 Aug 2018 10:11:08 +0100 Subject: [PATCH] aws: Install all available updates first Signed-off-by: Michael Tremer --- src/initscripts/helper/aws-setup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/initscripts/helper/aws-setup b/src/initscripts/helper/aws-setup index 777c8b9265..792a7d5a5e 100644 --- a/src/initscripts/helper/aws-setup +++ b/src/initscripts/helper/aws-setup @@ -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)" -- 2.39.2