diff options
author | Scott Moser <smoser@brickies.net> | 2016-08-23 16:48:39 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2016-08-23 16:48:39 -0400 |
commit | 90de5dfa9685a9585b651c38b21274a9aa05ec38 (patch) | |
tree | 238e33b0122e68154bc5773186b5938bac2fe34f /cloudinit/distros/gentoo.py | |
parent | 0ec34747b61845bfce806065dd126dcb56fe4672 (diff) | |
parent | 5db46cfb68422b0c14d4a6c097553edd0016de3f (diff) | |
download | vyos-cloud-init-90de5dfa9685a9585b651c38b21274a9aa05ec38.tar.gz vyos-cloud-init-90de5dfa9685a9585b651c38b21274a9aa05ec38.zip |
merge trunk at 0.7.7~bzr1176
Diffstat (limited to 'cloudinit/distros/gentoo.py')
-rw-r--r-- | cloudinit/distros/gentoo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/distros/gentoo.py b/cloudinit/distros/gentoo.py index 9e80583c..6267dd6e 100644 --- a/cloudinit/distros/gentoo.py +++ b/cloudinit/distros/gentoo.py @@ -66,7 +66,7 @@ class Distro(distros.Distro): def _bring_up_interface(self, device_name): cmd = ['/etc/init.d/net.%s' % device_name, 'restart'] LOG.debug("Attempting to run bring up interface %s using command %s", - device_name, cmd) + device_name, cmd) try: (_out, err) = util.subp(cmd) if len(err): @@ -88,7 +88,7 @@ class Distro(distros.Distro): (_out, err) = util.subp(cmd) if len(err): LOG.warn("Running %s resulted in stderr output: %s", cmd, - err) + err) except util.ProcessExecutionError: util.logexc(LOG, "Running interface command %s failed", cmd) return False |