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 — debian: Use only `-l` for libvirtd default file on debian (#2550) · asdnf/cloudstack@ea33a35

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • python/lib
    • cloud_utils.py
    • cloudutils
      • serviceConfig.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎python/lib/cloud_utils.py‎

Copy file name to clipboardExpand all lines: python/lib/cloud_utils.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ def execute(self):
759759
if os.path.exists("/etc/init/libvirt-bin.conf"):
760760
replace_line("/etc/init/libvirt-bin.conf", "exec /usr/sbin/libvirtd","exec /usr/sbin/libvirtd -d -l")
761761
else:
762-
replace_or_add_line("/etc/default/libvirt-bin","libvirtd_opts=","libvirtd_opts='-l -d'")
762+
replace_or_add_line("/etc/default/libvirt-bin","libvirtd_opts=","libvirtd_opts='-l'")
763763

764764
else:
765765
raise AssertionError("Unsupported distribution")
Collapse file

‎python/lib/cloudutils/serviceConfig.py‎

Copy file name to clipboardExpand all lines: python/lib/cloudutils/serviceConfig.py
+5-2Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,9 +526,12 @@ def setupLiveMigration(self):
526526
if os.path.exists("/etc/init/libvirt-bin.conf"):
527527
cfo = configFileOps("/etc/init/libvirt-bin.conf", self)
528528
cfo.replace_line("exec /usr/sbin/libvirtd","exec /usr/sbin/libvirtd -d -l")
529-
else:
529+
elif os.path.exists("/etc/default/libvirt-bin"):
530530
cfo = configFileOps("/etc/default/libvirt-bin", self)
531-
cfo.replace_or_add_line("libvirtd_opts=","libvirtd_opts='-l -d'")
531+
cfo.replace_or_add_line("libvirtd_opts=","libvirtd_opts='-l'")
532+
elif os.path.exists("/etc/default/libvirtd"):
533+
cfo = configFileOps("/etc/default/libvirtd", self)
534+
cfo.replace_or_add_line("libvirtd_opts=","libvirtd_opts='-l'")
532535

533536
def config(self):
534537
try:

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.