Ajust configuration of xenconsoled and libvirtd.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
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");
die if @hos > 1;
$ho= $hos[0];
packages_setup();
+adjustconfig();
setupboot();