diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-22 21:02:04 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-22 21:02:04 -0700 |
commit | f8122ecf95aa347969829a217b3894e07158f994 (patch) | |
tree | 1a872ccf791cc6c90e5567e96cddad725b4fdc4e /cloudinit/config/cc_disable_ec2_metadata.py | |
parent | 1551b681a3377d46bd1e6fff1f2894bf9e7a9b54 (diff) | |
download | vyos-cloud-init-f8122ecf95aa347969829a217b3894e07158f994.tar.gz vyos-cloud-init-f8122ecf95aa347969829a217b3894e07158f994.zip |
Turn off capturing
Diffstat (limited to 'cloudinit/config/cc_disable_ec2_metadata.py')
-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 8fb15e43..3fd2c20f 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, subp=False) + util.subp(REJECT_CMD, capture=False) else: log.debug(("Skipping module named %s," " disabling the ec2 route not enabled"), name) |