[node-patches] Change in ovirt-node[master]: persist /etc/libvirt/qemu

boh.ricky at gmail.com boh.ricky at gmail.com
Wed Aug 28 17:03:48 UTC 2013


hai bo has uploaded a new change for review.

Change subject: persist /etc/libvirt/qemu
......................................................................

persist /etc/libvirt/qemu

Libvirt's virsh define command will save vm xml in the
directory /etc/libvirt/qemu/, if it's not persisted, after
the reboot of the os , the defined vm will disapper.
This behavior is not same with the libvirt running on orther os.

Change-Id: I3e9150afd69773d3f2d213da666028b0bcba0660
Signed-off-by: boh.ricky <boh.ricky at gmail.com>
---
M scripts/ovirt-functions.in
M src/ovirtnode/ovirtfunctions.py
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/72/18672/1

diff --git a/scripts/ovirt-functions.in b/scripts/ovirt-functions.in
index 848b995..5dbc8f4 100644
--- a/scripts/ovirt-functions.in
+++ b/scripts/ovirt-functions.in
@@ -31,7 +31,7 @@
  /etc/default/ovirt                             \
  /etc/sysconfig/network                         \
  /etc/collectd.conf                             \
- /etc/libvirt/qemu/networks                     \
+ /etc/libvirt/qemu/                             \
  /etc/ssh/sshd_config                           \
  /etc/pki                                       \
  /etc/logrotate.d/ovirt-node
diff --git a/src/ovirtnode/ovirtfunctions.py b/src/ovirtnode/ovirtfunctions.py
index 7b0d41e..e8545ab 100644
--- a/src/ovirtnode/ovirtfunctions.py
+++ b/src/ovirtnode/ovirtfunctions.py
@@ -71,7 +71,7 @@
                        "/etc/default/ovirt",
                        "/etc/sysconfig/network",
                        "/etc/collectd.conf",
-                       "/etc/libvirt/qemu/networks",
+                       "/etc/libvirt/qemu/",
                        "/etc/ssh/sshd_config",
                        "/etc/pki",
                        "/etc/logrotate.d/ovirt-node",


-- 
To view, visit http://gerrit.ovirt.org/18672
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3e9150afd69773d3f2d213da666028b0bcba0660
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: hai bo <boh.ricky at gmail.com>



More information about the node-patches mailing list