summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_ssh.py
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit/config/cc_ssh.py')
-rw-r--r--cloudinit/config/cc_ssh.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloudinit/config/cc_ssh.py b/cloudinit/config/cc_ssh.py
index 7a673994..cfaceac6 100644
--- a/cloudinit/config/cc_ssh.py
+++ b/cloudinit/config/cc_ssh.py
@@ -96,7 +96,8 @@ def handle(_name, cfg, cloud, log, _args):
# TODO(harlowja): Is this guard needed?
with util.SeLinuxGuard("/etc/ssh", recursive=True):
try:
- out, err = util.subp(cmd, capture=True, rcs=[0, 1], env=lang_c)
+ out, err = util.subp(cmd, capture=True, rcs=[0, 1],
+ env=lang_c)
sys.stdout.write(util.encode_text(out))
except util.ProcessExecutionError as e:
err = util.decode_binary(e.stderr).lower()