summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_runcmd.py
diff options
context:
space:
mode:
authorRyan Harper <ryan.harper@canonical.com>2017-04-27 20:01:38 +0000
committerScott Moser <smoser@brickies.net>2017-06-12 12:46:11 -0400
commita01ffd65492e2882408aa18972ff80021eee624a (patch)
treecd28ce795f4a02106851f2ba5654f4e7f1d56bd0 /cloudinit/config/cc_runcmd.py
parent67bab5bb804e2346673430868935f6bbcdb88f13 (diff)
downloadvyos-cloud-init-a01ffd65492e2882408aa18972ff80021eee624a.tar.gz
vyos-cloud-init-a01ffd65492e2882408aa18972ff80021eee624a.zip
net: Allow netinfo subprocesses to return 0 or 1.
On systems with selinux enabled, some of the networking commands executed successfully do not return 0. Allow these commands to return 1 since the output is valid. Ultimately we need to get this information in some way so that we can display it correctly. For now, work around the stack trace when selinux does not allow us to collect it. LP: #1686751
Diffstat (limited to 'cloudinit/config/cc_runcmd.py')
0 files changed, 0 insertions, 0 deletions