Ajust configuration of xenconsoled and libvirtd.

Signed-off-by: Anthony PERARD <anthony.per...@citrix.com>
---
 ts-centos-xen-pkg-install | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/ts-centos-xen-pkg-install b/ts-centos-xen-pkg-install
index e10456d..0327b72 100755
--- a/ts-centos-xen-pkg-install
+++ b/ts-centos-xen-pkg-install
@@ -68,6 +68,15 @@ END
     target_install_packages($ho, @xen_packages);
 }
 
+sub adjustconfig () {
+    target_editfile_root($ho, '/etc/sysconfig/xencommons',
+       sub { target_editfile_kvp_replace("XENCONSOLED_TRACE", "guest") });
+
+    target_editfile_root($ho, '/etc/libvirt/libvirtd.conf',
+               sub { target_editfile_kvp_replace("log_level", "1") })
+       if toolstack($ho)->{Name} eq "libvirt";
+}
+
 
 sub setupboot () {
     logm("ready to boot Xen");
@@ -76,4 +85,5 @@ sub setupboot () {
 die if @hos > 1;
 $ho= $hos[0];
 packages_setup();
+adjustconfig();
 setupboot();
-- 
Anthony PERARD


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to