]> git.ipfire.org Git - people/stevee/ipfire-2.x.git/commitdiff
aws: Import pakfire keys before the first launch
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 15 Aug 2018 10:10:59 +0000 (11:10 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 15 Aug 2018 10:51:53 +0000 (11:51 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/helper/aws-setup

index 2cd63136dc5e2338d6ea5afecc19863fd1f29483..97293fd139ecbb84cce7e22b0c372c2aa7420b22 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
+               # Initialize pakfire
+               /etc/init.d/pakfire start
+
                # Install all available updates
                pakfire update && pakfire upgrade -y