summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorSoren Hansen <soren@canonical.com>2009-08-10 14:00:22 +0200
committerSoren Hansen <soren@canonical.com>2009-08-10 14:00:22 +0200
commit19023c5df38964a53b63f77943e3ac1d02d95d6c (patch)
treedc06003c10b15e47c622cb137c517f02e235fb89 /setup.py
parent157e808dce7cca6c1ef310bae0e827c65472fdff (diff)
downloadvyos-cloud-init-19023c5df38964a53b63f77943e3ac1d02d95d6c.tar.gz
vyos-cloud-init-19023c5df38964a53b63f77943e3ac1d02d95d6c.zip
Add new script: ec2-wait-for-meta-data-service.py
It will wait for around half an hour for the ec2 meta data service to turn up and eventually execute the configured bailout command (if any) if it never shows up. Call this as the first thing in the init script.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index a957f8ae..9d9e5d50 100755
--- a/setup.py
+++ b/setup.py
@@ -34,7 +34,8 @@ setup(name='EC2-init',
'ec2-run-user-data.py',
'ec2-set-apt-sources.py',
'ec2-set-defaults.py',
- 'ec2-set-hostname.py'],
+ 'ec2-set-hostname.py',
+ 'ec2-wait-for-meta-data-service.py'],
data_files=[('/etc/ec2-init', ['debian/ec2-config.cfg']),
('/etc/ec2-init/templates', glob('templates/*'))],
)