diff options
Diffstat (limited to 'scripts/install/install-image-existing')
-rwxr-xr-x | scripts/install/install-image-existing | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/install/install-image-existing b/scripts/install/install-image-existing index f8aef0ba..5c042d48 100755 --- a/scripts/install/install-image-existing +++ b/scripts/install/install-image-existing @@ -44,10 +44,8 @@ is_amazon_ec2_ami () { if [ -n "$ami_id" ]; then echo "Installing on VyOS AMI" - # Create a temporary file to provide conditional - # check for init.d config in - # /debian/vyatta-cfg-system.postinst.in L215 - touch ${INST_ROOT}${VYATTA_CFG_DIR}/.aws + # Create init script links for /etc/init.d/ec2-fetch-ssh-public-key + chroot $INST_ROOT update-rc.d ec2-fetch-ssh-public-key defaults &>/dev/null fi } |