cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: updated refs/heads/master to 8ed833a
Date Tue, 10 Mar 2015 04:49:17 GMT
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 <rohit.yadav@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 <ghxandsky@gmail.com>
Authored: Thu Mar 5 00:49:07 2015 +0800
Committer: Rohit Yadav <rohit.yadav@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


Mime
View raw message