]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
cobbler_profile: Disable OS prober to prevent update-grub hang 529/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 11 Feb 2020 16:51:49 +0000 (11:51 -0500)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 11 Feb 2020 16:51:49 +0000 (11:51 -0500)
The Ubuntu installer appears to at least probe non-root disks during the `update-grub` step.  This was hanging on LVs leftover from previous installations on the smithi NVMe drives.

Settings this kernel option fixes it.

See https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1854839/comments/2

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/cobbler_profile/defaults/main.yml

index 6aae02a683c88c8b88ec1b474641f42ccca349dc..ff809df9ff39edc84db321e04391c96ebd903b23 100644 (file)
@@ -112,7 +112,7 @@ distros:
       iso: "http://cdimage.ubuntu.com/releases/18.04/release/ubuntu-18.04-server-amd64.iso"
       sha256: a7f5c7b0cdd0e9560d78f1e47660e066353bb8a79eb78d1fc3f4ea62a07e6cbc
       kickstart: cephlab_ubuntu.preseed
-      kernel_options: "netcfg/choose_interface=auto console=tty0 console=ttyS1,115200"
+      kernel_options: "netcfg/choose_interface=auto console=tty0 console=ttyS1,115200 GRUB_DISABLE_OS_PROBER=true"
       kernel_options_post: "pci=realloc=off console=tty0 console=ttyS1,115200"
   "openSUSE-15.0-x86_64":
       iso: "https://download.opensuse.org/distribution/leap/15.0/iso/openSUSE-Leap-15.0-DVD-x86_64.iso"