mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-2115: remove the trailing '\n' to get correct XS network mode
This commit is contained in:
parent
26cefdcfac
commit
1518e7ee43
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user