From: Michael Tremer Date: Fri, 31 Aug 2018 10:08:53 +0000 (+0100) Subject: aws: Don't update the system on first boot X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3da2a66193ce8e3f92d3c29be95a4076a4fa0274;p=people%2Fms%2Fipfire-2.x.git aws: Don't update the system on first boot This will violate AWS policy and therefore had to be removed. Signed-off-by: Michael Tremer --- diff --git a/src/initscripts/helper/aws-setup b/src/initscripts/helper/aws-setup index b2bb5a9669..e3f1d0a9f4 100644 --- a/src/initscripts/helper/aws-setup +++ b/src/initscripts/helper/aws-setup @@ -98,18 +98,6 @@ 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 &>/dev/null - - # Install all available updates - ( pakfire update && pakfire upgrade -y ) &>/dev/null - - # If an update requires a reboot, we will do it - if [ -e "/var/run/need_reboot" ]; then - reboot - exit 1 - fi - # Download user-data local user_data="$(get user-data)"