From: David Galloway Date: Wed, 27 Apr 2016 21:00:00 +0000 (-0400) Subject: cobbler: Only set bootdev in kickstart if installing Xenial. X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F233%2Fhead;p=ceph-cm-ansible.git cobbler: Only set bootdev in kickstart if installing Xenial. "bootdev string default" is only supported in Xenial. Signed-off-by: David Galloway --- diff --git a/roles/cobbler/templates/kickstarts/cephlab_ubuntu.preseed b/roles/cobbler/templates/kickstarts/cephlab_ubuntu.preseed index c67f6160..5cd0ff0d 100644 --- a/roles/cobbler/templates/kickstarts/cephlab_ubuntu.preseed +++ b/roles/cobbler/templates/kickstarts/cephlab_ubuntu.preseed @@ -110,7 +110,9 @@ d-i pkgsel/upgrade select safe-upgrade d-i pkgsel/update-policy select none # Install GRUB to default location. Required as of Xenial. +#if $os_version == 'xenial' d-i grub-installer/bootdev string default +#end if # During installations from serial console, the regular virtual consoles # (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next