mirror of
https://github.com/siderolabs/talos.git
synced 2025-12-24 10:51:59 +01:00
fix: disable kexec in talosctl cluster create on arm64
Fixes #12393 Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
This commit is contained in:
parent
bb62b29edb
commit
008cd0986c
@ -157,8 +157,9 @@ func (m *Qemu) AddExtraGenOps() error {
|
||||
}
|
||||
}
|
||||
|
||||
if !m.EOps.BootloaderEnabled {
|
||||
// disable kexec, as this would effectively use the bootloader
|
||||
// disable kexec, if bootloader is disabled, and
|
||||
// also disable kexec on arm64 due to https://github.com/siderolabs/talos/issues/12393
|
||||
if !m.EOps.BootloaderEnabled || m.EOps.TargetArch == "arm64" {
|
||||
m.GenOps = slices.Concat(m.GenOps, []generate.Option{
|
||||
generate.WithSysctls(map[string]string{
|
||||
"kernel.kexec_load_disabled": "1",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user