Skip to content

Commit 1518e7e

Browse files
author
Anthony Xu
committed
CLOUDSTACK-2115: remove the trailing '\n' to get correct XS network mode
1 parent 26cefdc commit 1518e7e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • scripts/vm/hypervisor/xenserver

‎scripts/vm/hypervisor/xenserver/vmops‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ def setLinkLocalIP(session, args):
279279
except:
280280
return 'can not cat network.conf'
281281

282-
if result.lower() == "bridge":
282+
if result.lower().strip() == "bridge":
283283
try:
284284
cmd = ["brctl", "addbr", brName]
285285
txt = util.pread2(cmd)

0 commit comments

Comments
 (0)