mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Emit default for bootmenu to be off (#1621)
Ensure the bootmenu is disabled by default. When not specified it will default to the hypervisor default behaviour, however this is not necessarily defined consistently across different distros. Therefore for a consistent behaviour, simply ensure it is always configured to be off, unless explicitly required to be enabled when the boot order is configured. Fixes: #947
This commit is contained in:
parent
2882ad01b1
commit
7813ad3740
@ -73,9 +73,7 @@
|
||||
<%- if @nvram -%>
|
||||
<nvram><%= @nvram %></nvram>
|
||||
<%- end -%>
|
||||
<%- if @boot_order.count >= 1 -%>
|
||||
<bootmenu enable='yes'/>
|
||||
<%- end -%>
|
||||
<bootmenu enable='<%= @boot_order.count >= 1 ? "yes" : "no" %>'/>
|
||||
<kernel><%= @kernel %></kernel>
|
||||
<initrd><%= @initrd %></initrd>
|
||||
<cmdline><%= @cmd_line %></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -7,6 +7,7 @@
|
||||
<vcpu placement="static">2</vcpu>
|
||||
<os>
|
||||
<type arch="x86_64" machine="pc-i440fx-6.0">hvm</type>
|
||||
<bootmenu enable="yes"/>
|
||||
<boot dev="hd"/>
|
||||
</os>
|
||||
<features>
|
||||
|
@ -8,6 +8,7 @@
|
||||
<vcpu placement="static">2</vcpu>
|
||||
<os>
|
||||
<type arch="x86_64" machine="pc-i440fx-6.0">hvm</type>
|
||||
<bootmenu enable="yes"/>
|
||||
|
||||
</os>
|
||||
<features>
|
||||
|
@ -7,6 +7,7 @@
|
||||
<vcpu placement='static'>2</vcpu>
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-i440fx-6.0'>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<boot dev='hd'/>
|
||||
</os>
|
||||
<features>
|
||||
|
@ -7,6 +7,7 @@
|
||||
<vcpu placement='static'>2</vcpu>
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-i440fx-6.0'>hvm</type><loader type='pflash'>/path/to/loader/file</loader><nvram>/path/to/nvram/file</nvram>
|
||||
<bootmenu enable='no'/>
|
||||
<boot dev='hd'/>
|
||||
</os>
|
||||
<features>
|
||||
|
@ -7,6 +7,7 @@
|
||||
<vcpu placement='static'>2</vcpu>
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-i440fx-6.0'>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<boot dev='hd'/>
|
||||
</os>
|
||||
<features>
|
||||
|
@ -7,6 +7,7 @@
|
||||
<vcpu placement='static'>2</vcpu>
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-i440fx-6.0'>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<loader type='pflash'>/path/to/loader/file</loader>
|
||||
<nvram>/path/to/nvram/file</nvram>
|
||||
<boot dev='hd'/>
|
||||
|
@ -7,6 +7,7 @@
|
||||
<vcpu placement='static'>2</vcpu>
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-i440fx-6.0'>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<loader type='pflash'>/path/to/loader/file</loader>
|
||||
<nvram>/path/to/nvram/file1</nvram>
|
||||
<boot dev='hd'/>
|
||||
|
@ -7,6 +7,7 @@
|
||||
<vcpu placement='static'>2</vcpu>
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-i440fx-6.0'>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
|
||||
|
||||
<boot dev='hd'/>
|
||||
|
@ -12,6 +12,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
@ -10,6 +10,7 @@
|
||||
</cpu>
|
||||
<os>
|
||||
<type>hvm</type>
|
||||
<bootmenu enable='no'/>
|
||||
<kernel></kernel>
|
||||
<initrd></initrd>
|
||||
<cmdline></cmdline>
|
||||
|
Loading…
Reference in New Issue
Block a user