summaryrefslogtreecommitdiff
path: root/ec2init/CloudConfig.py
diff options
context:
space:
mode:
Diffstat (limited to 'ec2init/CloudConfig.py')
-rw-r--r--ec2init/CloudConfig.py3
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):