Skip to content
Snippets Groups Projects
Commit 91ceba84 authored by Thomas Bellman's avatar Thomas Bellman
Browse files

Prefer to boot the Xen kernel when configuring a dom0.

This was originally commit 2e32fe1ae5f6 in nsc-puppet-utils.
parent af3646d7
Branches
No related tags found
No related merge requests found
...@@ -184,6 +184,13 @@ class xen_dom0__::centos ...@@ -184,6 +184,13 @@ class xen_dom0__::centos
ensure => installed; ensure => installed;
} }
rh_sysconfig { rh_sysconfig {
default-kernel-xen:
# Unless we set this, grub.conf will continue to default to
# boot the non-Xen kernel, and updates of the kernel-xen
# package later will not set the default to the new kernel.
subsystem => "kernel",
setting => "DEFAULTKERNEL", value => "kernel-xen",
before => Package["kernel-xen"];
hypervisor-log: hypervisor-log:
subsystem => "xend", subsystem => "xend",
setting => "XENCONSOLED_LOG_HYPERVISOR", value => "yes", setting => "XENCONSOLED_LOG_HYPERVISOR", value => "yes",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment