summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceOpenNebula.py
diff options
context:
space:
mode:
authorScott Moser <smoser@brickies.net>2016-08-26 15:21:02 -0400
committerScott Moser <smoser@brickies.net>2016-08-26 15:21:02 -0400
commitfee29a72ae932f9562e31c105924e2081483d730 (patch)
treefe43b3e8288ba5dfa83430eac7aefec1e7cede5c /cloudinit/sources/DataSourceOpenNebula.py
parent01784424e33e5a667b2d3835498ff28fc54afc12 (diff)
parent763f403c7b848b31780ef869fb7728b0d5e571a2 (diff)
downloadvyos-cloud-init-fee29a72ae932f9562e31c105924e2081483d730.tar.gz
vyos-cloud-init-fee29a72ae932f9562e31c105924e2081483d730.zip
merge from master at 0.7.7-22-g763f403
Diffstat (limited to 'cloudinit/sources/DataSourceOpenNebula.py')
-rw-r--r--cloudinit/sources/DataSourceOpenNebula.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceOpenNebula.py b/cloudinit/sources/DataSourceOpenNebula.py
index 7b3a76b9..635a836c 100644
--- a/cloudinit/sources/DataSourceOpenNebula.py
+++ b/cloudinit/sources/DataSourceOpenNebula.py
@@ -407,7 +407,7 @@ def read_context_disk_dir(source_dir, asuser=None):
# http://opennebula.org/documentation:rel3.8:cong#network_configuration
for k in context:
if re.match(r'^ETH\d+_IP$', k):
- (out, _) = util.subp(['/sbin/ip', 'link'])
+ (out, _) = util.subp(['ip', 'link'])
net = OpenNebulaNetwork(out, context)
results['network-interfaces'] = net.gen_conf()
break