mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-23 09:22:59 +02:00
aws: Install all available updates first
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -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)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user