From f8122ecf95aa347969829a217b3894e07158f994 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Fri, 22 Jun 2012 21:02:04 -0700 Subject: Turn off capturing --- cloudinit/config/cc_disable_ec2_metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudinit/config') 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) -- cgit v1.2.3