stages/grub2: default to disabling legacy support

For the sake of backwards compatibility, legacy support was enabled
by default. Flip this around, so that leaving the parameter out
means disabling it.

This is more intuitive, and will pave the way for dropping support
for the value being a bool in the future.

`osbuild-composer` always passes the argumnet explicitly, though
still always as a boolean.

Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
Tom Gundersen 2020-04-14 21:29:53 +02:00
parent de7227965f
commit 9d79d5fcc3
8 changed files with 18 additions and 13 deletions

View file

@ -924,7 +924,8 @@
"name": "org.osbuild.grub2",
"options": {
"root_fs_uuid": "76a22bf4-f153-4541-b6c7-0332c0dfaeac",
"kernel_opts": "ro biosdevname=0 net.ifnames=0"
"kernel_opts": "ro biosdevname=0 net.ifnames=0",
"legacy": "i386-pc"
}
},
{