summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/vyatta-cfg-system.postinst.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index fde99041..a89ef711 100755
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -211,6 +211,14 @@ done
# add vyatta-config-reboot-params to start at boot up
update-rc.d vyatta-config-reboot-params start 20 S
+# Enable ec2-fetch-ssh-public-key init script
+if [ -f "$sysconfdir"/config/.aws ]; then
+ insserv ec2-fetch-ssh-public-key --default
+
+ # Remove temp. file from install-image-existing L50
+ rm "$sysconfdir"/config/.aws
+fi
+
# Local Variables:
# mode: shell-script
# sh-indentation: 4