GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bug 14034: add newline around configuration file. status 14034: resol… · disller/cloudstack@cf0a4e0

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • agent/conf
    • agent.properties
  • python/lib/cloudutils
    • configFileOps.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎agent/conf/agent.properties‎

Copy file name to clipboardExpand all lines: agent/conf/agent.properties
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,6 @@ zone=default
3030

3131
#vm.migrate.speed set the vm migrate speed, by default, it's the speed of guest network
3232
#local.storage.path local storage path, by default, it's /var/lib/libvirt/images/
33-
#cmds.timeout the timeout for time-consuming operations, such create/copy snapshot
33+
#cmds.timeout the timeout for time-consuming operations, such create/copy snapshot
34+
35+
Collapse file

‎python/lib/cloudutils/configFileOps.py‎

Copy file name to clipboardExpand all lines: python/lib/cloudutils/configFileOps.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def save(self):
6262
match = re.match(matchString, line)
6363
if match is not None:
6464
if entry.op == "add" and entry.separator == "=":
65-
newline = entry.name + "=" + entry.value + "\n"
65+
newline = "\n" + entry.name + "=" + entry.value + "\n"
6666
entry.setState("set")
6767
newLines.append(newline)
6868
self.backups.append([line, newline])

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.