From: Michael Tremer Date: Wed, 15 Aug 2018 09:11:08 +0000 (+0100) Subject: aws: Install all available updates first X-Git-Tag: v2.21-core123~14 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=0ed9b77099321c4addd0b91121194d90322242ed aws: Install all available updates first Signed-off-by: Michael Tremer --- 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)"