anaconda: disable os prober

It tries to mount every existing block device, including VM images.
This commit is contained in:
Marek Marczykowski-Górecki 2015-07-15 14:28:26 +02:00
parent a0060ff53f
commit 5796c78979
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -1457,6 +1457,7 @@ class GRUB2(GRUB):
defaults.write("GRUB_CMDLINE_XEN_DEFAULT=\"console=none dom0_mem=min:1024M\"\n") defaults.write("GRUB_CMDLINE_XEN_DEFAULT=\"console=none dom0_mem=min:1024M\"\n")
defaults.write("GRUB_DISABLE_RECOVERY=\"true\"\n") defaults.write("GRUB_DISABLE_RECOVERY=\"true\"\n")
defaults.write("GRUB_THEME=\"/boot/grub2/themes/system/theme.txt\"\n") defaults.write("GRUB_THEME=\"/boot/grub2/themes/system/theme.txt\"\n")
defaults.write("GRUB_DISABLE_OS_PROBER=\"true\"\n")
defaults.close() defaults.close()
def _encrypt_password(self): def _encrypt_password(self):