Remove ppa and fix up networking a bit more
Signed-off-by: Chuck Short <chuck.short@canonical.com>
This commit is contained in:
parent
618b0b9c6d
commit
e18482dbe1
|
@ -19,8 +19,6 @@ LXC_DIR=$DEST/python2-lxc
|
||||||
|
|
||||||
function configure_lxd {
|
function configure_lxd {
|
||||||
install_package python-software-properties
|
install_package python-software-properties
|
||||||
sudo apt-add-repository -y ppa:ubuntu-lxc/lxd-daily
|
|
||||||
sudo apt-add-repository -y ppa:ubuntu-lxc/stable
|
|
||||||
apt_get update
|
apt_get update
|
||||||
|
|
||||||
install_package golang
|
install_package golang
|
||||||
|
|
|
@ -100,6 +100,9 @@ class LXDOpenVswitchDriver(object):
|
||||||
|
|
||||||
linux_net.delete_ovs_vif_port(self._get_bridge_name(vif),
|
linux_net.delete_ovs_vif_port(self._get_bridge_name(vif),
|
||||||
v2_name)
|
v2_name)
|
||||||
|
if linux_net.device_exists(v2_name):
|
||||||
|
utils.execute('ip', 'link', 'set', v2_name, 'down',
|
||||||
|
run_as_root=True)
|
||||||
except processutils.ProcessExecutionError:
|
except processutils.ProcessExecutionError:
|
||||||
LOG.exception(_("Failed while unplugging vif"),
|
LOG.exception(_("Failed while unplugging vif"),
|
||||||
instance=instance)
|
instance=instance)
|
||||||
|
|
Loading…
Reference in New Issue