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