summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoren Hansen <soren@canonical.com>2009-08-10 18:03:04 +0200
committerSoren Hansen <soren@canonical.com>2009-08-10 18:03:04 +0200
commite822aba1d8ded633f9f5dbea215a0e708c2c4267 (patch)
treeb0f188131a9aac95818c946f203e3f98a70ec1f9
parentfd8c56a2c24061a90d9a3316988404918ee82b3e (diff)
downloadvyos-cloud-init-e822aba1d8ded633f9f5dbea215a0e708c2c4267.tar.gz
vyos-cloud-init-e822aba1d8ded633f9f5dbea215a0e708c2c4267.zip
Replace calls to ec2-get-data (which was a figment of my imagination) with
calls to ec2-get-info.
-rw-r--r--debian/init4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/init b/debian/init
index 608db7a2..dd363ee0 100644
--- a/debian/init
+++ b/debian/init
@@ -36,13 +36,13 @@ run_once() {
run_once_per_instance() {
action_id=$1
- instance=`ec2-get-data --instance-id | cut -f2 -d\ `
+ instance=`ec2-get-info --instance-id | cut -f2 -d\ `
run_once $instance $action_id
}
run_once_per_ami() {
action_id=$1
- ami=`ec2-get-data --ami-id | cut -f2 -d\ `
+ ami=`ec2-get-info --ami-id | cut -f2 -d\ `
run_once $ami $action_id
}