mirror of https://github.com/apache/cloudstack.git
scripts: add ip set interface up because in CentOS7 the interface will not auto up
This closes #97 Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
729e239a47
commit
290938b08e
|
|
@ -34,6 +34,7 @@ addVlan() {
|
|||
if [ ! -d /sys/class/net/$vlanDev ]
|
||||
then
|
||||
ip link add link $pif name $vlanDev type vlan id $vlanId > /dev/null
|
||||
ip link set $vlanDev up
|
||||
|
||||
if [ $? -gt 0 ]
|
||||
then
|
||||
|
|
|
|||
Loading…
Reference in New Issue