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:49:17 UTC

git commit: updated refs/heads/master to 8ed833a

Repository: cloudstack
Updated Branches:
  refs/heads/master 47de4a12f -> 8ed833a13


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/8ed833a1
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8ed833a1
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8ed833a1

Branch: refs/heads/master
Commit: 8ed833a13bdac65f01609c4f88f5905154c2e8e1
Parents: 47de4a1
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:19:04 2015 +0530

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8ed833a1/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