mirror of https://github.com/apache/cloudstack.git
bug 14034: add newline around configuration file. status 14034: resolved fixed. Reviewed-by: frank
This commit is contained in:
parent
bdc99ea17a
commit
cf0a4e0274
|
|
@ -30,4 +30,6 @@ zone=default
|
|||
|
||||
#vm.migrate.speed set the vm migrate speed, by default, it's the speed of guest network
|
||||
#local.storage.path local storage path, by default, it's /var/lib/libvirt/images/
|
||||
#cmds.timeout the timeout for time-consuming operations, such create/copy snapshot
|
||||
#cmds.timeout the timeout for time-consuming operations, such create/copy snapshot
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ class configFileOps:
|
|||
match = re.match(matchString, line)
|
||||
if match is not None:
|
||||
if entry.op == "add" and entry.separator == "=":
|
||||
newline = entry.name + "=" + entry.value + "\n"
|
||||
newline = "\n" + entry.name + "=" + entry.value + "\n"
|
||||
entry.setState("set")
|
||||
newLines.append(newline)
|
||||
self.backups.append([line, newline])
|
||||
|
|
|
|||
Loading…
Reference in New Issue