diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-22 21:01:57 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-22 21:01:57 -0700 |
commit | 1551b681a3377d46bd1e6fff1f2894bf9e7a9b54 (patch) | |
tree | f2b23e9f440e29756a82a356fbb309f81283a123 /cloudinit | |
parent | b8bb5a1b2b92ec9616a227cffe7336ef4b2e91f8 (diff) | |
download | vyos-cloud-init-1551b681a3377d46bd1e6fff1f2894bf9e7a9b54.tar.gz vyos-cloud-init-1551b681a3377d46bd1e6fff1f2894bf9e7a9b54.zip |
Turn off capturing
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/config/cc_disable_ec2_metadata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_disable_ec2_metadata.py b/cloudinit/config/cc_disable_ec2_metadata.py index a7c6a75b..8fb15e43 100644 --- a/cloudinit/config/cc_disable_ec2_metadata.py +++ b/cloudinit/config/cc_disable_ec2_metadata.py @@ -30,7 +30,7 @@ REJECT_CMD = ['route', 'add', '-host', '169.254.169.254', 'reject'] def handle(name, cfg, _cloud, log, _args): disabled = util.get_cfg_option_bool(cfg, "disable_ec2_metadata", False) if disabled: - util.subp(REJECT_CMD) + util.subp(REJECT_CMD, subp=False) else: log.debug(("Skipping module named %s," " disabling the ec2 route not enabled"), name) |