Some jumpserver's INSTALL_NIC is down during compass4nfv installation,
this will cause pxe boot failure. So add auto up the INSTALL_NIC during
installation.
JIRA: -
Change-Id: I109b45360edf03e575f00e88d4b2ce12c01b2869
Signed-off-by: QiLiang <liangqi1@huawei.com>
(cherry picked from commit
3bff61db1bfe39e2833d35a0b8f30af3f7a66e0c)
net_name=$1
nic=$2
+ sudo ifconfig $nic up
+
sudo virsh net-destroy $net_name
sudo virsh net-undefine $net_name