]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
aws: Install all available updates first
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 15 Aug 2018 09:11:08 +0000 (10:11 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 15 Aug 2018 09:11:08 +0000 (10:11 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/helper/aws-setup

index 777c8b9265f4afeda19c857356967dfa7ad1e97c..792a7d5a5e74a1770a2e36ffd888e21ab5cf9035 100644 (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)"