mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 09:48:24 +02:00
aws: Import pakfire keys before the first launch
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
|
# Download the user-data script only on the first boot
|
||||||
if [ ! -e "/var/ipfire/main/firstsetup_ok" ]; then
|
if [ ! -e "/var/ipfire/main/firstsetup_ok" ]; then
|
||||||
|
# Initialize pakfire
|
||||||
|
/etc/init.d/pakfire start
|
||||||
|
|
||||||
# Install all available updates
|
# Install all available updates
|
||||||
pakfire update && pakfire upgrade -y
|
pakfire update && pakfire upgrade -y
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user