cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prachida...@apache.org
Subject [42/68] [abbrv] git commit: updated refs/heads/planner_reserve to ed8ff40
Date Thu, 16 May 2013 18:22:07 GMT
CLOUDSTACK-2115:  remove the trailing '\n' to get correct XS network mode


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

Branch: refs/heads/planner_reserve
Commit: 1518e7ee43f091fc528cb7b70e5dcfdf7c623e22
Parents: 26cefdc
Author: Anthony Xu <anthony.xu@citrix.com>
Authored: Tue May 14 17:52:10 2013 -0700
Committer: Anthony Xu <anthony.xu@citrix.com>
Committed: Tue May 14 17:52:10 2013 -0700

----------------------------------------------------------------------
 scripts/vm/hypervisor/xenserver/vmops |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1518e7ee/scripts/vm/hypervisor/xenserver/vmops
----------------------------------------------------------------------
diff --git a/scripts/vm/hypervisor/xenserver/vmops b/scripts/vm/hypervisor/xenserver/vmops
index 66cde4f..60fb8ab 100755
--- a/scripts/vm/hypervisor/xenserver/vmops
+++ b/scripts/vm/hypervisor/xenserver/vmops
@@ -279,7 +279,7 @@ def setLinkLocalIP(session, args):
         except:
             return 'can not cat network.conf'
 
-        if result.lower() == "bridge":
+        if result.lower().strip() == "bridge":
             try:
                 cmd = ["brctl", "addbr", brName]
                 txt = util.pread2(cmd)


Mime
View raw message