Commit 2f55241e authored by Baptiste Jonglez's avatar Baptiste Jonglez

[bootloader] Fix missing quotes in grub configuration for Xen

When trying to pass several Xen parameters in hypervisor_params (to fix
bug 11436), the postinstall fails:

    /usr/sbin/grub-mkconfig: 36: /etc/default/grub: no-bootscrub: not found

Adding the missing quotes fixes it.
parent 9d16968d
......@@ -72,7 +72,7 @@ def install_grub2
f.write("GRUB_CMDLINE_XEN=#{hypervisor_params}\n") if os_kind == 'xen'
f.write("GRUB_CMDLINE_XEN=\"#{hypervisor_params}\"\n") if os_kind == 'xen'
f.write("XEN_OVERRIDE_GRUB_DEFAULT=1\n") if os_kind == 'xen'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment