diff options
author | Scott Moser <smoser@ubuntu.com> | 2010-01-29 10:09:25 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2010-01-29 10:09:25 -0500 |
commit | 511448c7afdcb5aaeb69a26e570fd600df512610 (patch) | |
tree | 5d82df5d35c604d5c082d26d4480a1343d9caac7 /ec2init/CloudConfig.py | |
parent | e6e30d8c8f72b904b34e93d2b9c4aef39b965b59 (diff) | |
download | vyos-cloud-init-511448c7afdcb5aaeb69a26e570fd600df512610.tar.gz vyos-cloud-init-511448c7afdcb5aaeb69a26e570fd600df512610.zip |
make disable-ec2-metadata persistent across boots
The sem_and_run and such needs some work, donesn't make a lot of sense
for "always".
Diffstat (limited to 'ec2init/CloudConfig.py')
-rw-r--r-- | ec2init/CloudConfig.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ec2init/CloudConfig.py b/ec2init/CloudConfig.py index 4875e999..d1699f09 100644 --- a/ec2init/CloudConfig.py +++ b/ec2init/CloudConfig.py @@ -38,7 +38,8 @@ class CloudConfig(): self.cloud.get_data_source() self.add_handler('apt-update-upgrade', self.h_apt_update_upgrade) self.add_handler('config-ssh') - self.add_handler('disable-ec2-metadata') + self.add_handler('disable-ec2-metadata', + self.h_disable_ec2_metadata, "always") self.add_handler('config-mounts') def get_config_obj(self,cfgfile): |