diff options
author | Soren Hansen <soren@canonical.com> | 2009-08-10 14:00:22 +0200 |
---|---|---|
committer | Soren Hansen <soren@canonical.com> | 2009-08-10 14:00:22 +0200 |
commit | 19023c5df38964a53b63f77943e3ac1d02d95d6c (patch) | |
tree | dc06003c10b15e47c622cb137c517f02e235fb89 /setup.py | |
parent | 157e808dce7cca6c1ef310bae0e827c65472fdff (diff) | |
download | vyos-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-x | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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/*'))], ) |