summaryrefslogtreecommitdiff
path: root/ec2-init
diff options
context:
space:
mode:
authorSoren Hansen <soren@canonical.com>2009-08-10 22:20:34 +0200
committerSoren Hansen <soren@canonical.com>2009-08-10 22:20:34 +0200
commitce4d0c0e1004f64a599f93e48b8fc7abcc1eaf25 (patch)
tree08b6d2c06cf6253f93853cee329a242c654adf4b /ec2-init
parent1999a6e534fe7aa19e7fbe40b6f4c0b48612e47d (diff)
downloadvyos-cloud-init-ce4d0c0e1004f64a599f93e48b8fc7abcc1eaf25.tar.gz
vyos-cloud-init-ce4d0c0e1004f64a599f93e48b8fc7abcc1eaf25.zip
Rerun the setting up of authorized keys if te AMI is rebundled.
Diffstat (limited to 'ec2-init')
-rwxr-xr-xec2-init2
1 files changed, 1 insertions, 1 deletions
diff --git a/ec2-init b/ec2-init
index ab7712e3..89446335 100755
--- a/ec2-init
+++ b/ec2-init
@@ -91,7 +91,7 @@ case "$1" in
fi
fi
- if run_once_ever ssh_authorized_keys
+ if run_once_per_ami ssh_authorized_keys
then
log_daemon_msg "Fetching EC2 SSH keys"
if ec2-fetch-credentials 2> /dev/null