aws: Import pakfire keys before the first launch

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2018-08-15 11:10:59 +01:00
parent bd7d957fae
commit 6cf586436b

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