You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2015/03/10 05:48:50 UTC

git commit: updated refs/heads/4.5 to 290938b

Repository: cloudstack
Updated Branches:
  refs/heads/4.5 729e239a4 -> 290938b08


scripts: add ip set interface up because in CentOS7 the interface will not auto up

This closes #97

Signed-off-by: Rohit Yadav <ro...@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/290938b0
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/290938b0
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/290938b0

Branch: refs/heads/4.5
Commit: 290938b08ed7b6a89070f5415bdb1be985717dc2
Parents: 729e239
Author: Star Guo <gh...@gmail.com>
Authored: Thu Mar 5 00:49:07 2015 +0800
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Tue Mar 10 10:18:10 2015 +0530

----------------------------------------------------------------------
 scripts/vm/network/vnet/modifyvlan.sh | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/290938b0/scripts/vm/network/vnet/modifyvlan.sh
----------------------------------------------------------------------
diff --git a/scripts/vm/network/vnet/modifyvlan.sh b/scripts/vm/network/vnet/modifyvlan.sh
index 490fe9c..021dfa2 100755
--- a/scripts/vm/network/vnet/modifyvlan.sh
+++ b/scripts/vm/network/vnet/modifyvlan.sh
@@ -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