From d5666ee90c26614fda783c721cf171c57cc11c73 Mon Sep 17 00:00:00 2001 From: David Galloway Date: Fri, 1 Dec 2017 11:19:35 -0500 Subject: [PATCH] cobbler: Install grub to /dev/sda instead of whatever default is Apparently on some machines (namely bruuni in Octo), the default disk returns /dev/nvme0n1 which is not where the OS is installed. Since we already define which disk the OS should be installed on earlier in the preseed, it only makes sense to install grub on the same disk. Signed-off-by: David Galloway --- roles/cobbler/templates/kickstarts/cephlab_ubuntu.preseed | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/cobbler/templates/kickstarts/cephlab_ubuntu.preseed b/roles/cobbler/templates/kickstarts/cephlab_ubuntu.preseed index c543196d..7010333f 100644 --- a/roles/cobbler/templates/kickstarts/cephlab_ubuntu.preseed +++ b/roles/cobbler/templates/kickstarts/cephlab_ubuntu.preseed @@ -115,9 +115,9 @@ d-i pkgsel/upgrade select safe-upgrade # "landscape" (manage system with Landscape). d-i pkgsel/update-policy select none -# Set GRUB bootdev to 'default' if Xenial or later +# Set GRUB bootdev to '/dev/sda' if Xenial or later #if int($distro_ver_major) >= 16 -d-i grub-installer/bootdev string default +d-i grub-installer/bootdev string /dev/sda #end if # During installations from serial console, the regular virtual consoles -- 2.47.3