Fixing cmdline type
This commit is contained in:
parent
23f0d2427e
commit
ac76db9eba
1 changed files with 11 additions and 9 deletions
20
main.tf
20
main.tf
|
|
@ -121,15 +121,17 @@ resource "libvirt_domain" "talos-controlplane" {
|
|||
|
||||
# Talos kernel parameters
|
||||
cmdline = [
|
||||
"talos.platform=metal",
|
||||
"talos.config=${base64encode(data.talos_machine_configuration.controlplane.machine_configuration)}", # FIXED: Correct attribute
|
||||
"ip=10.5.0.2::10.5.0.1:255.255.255.0::eth0:off",
|
||||
"init_on_alloc=1",
|
||||
"slab_nomerge",
|
||||
"pti=on",
|
||||
"console=tty0",
|
||||
"console=ttyS0",
|
||||
"printk.devkmsg=on"
|
||||
{
|
||||
talos.platform = "metal"
|
||||
talos.config = base64encode(data.talos_machine_configuration.controlplane.machine_configuration) # FIXED: Correct attribute
|
||||
ip = "10.5.0.2::10.5.0.1:255.255.255.0::eth0:off"
|
||||
init_on_alloc = "1"
|
||||
"_" = "slab_nomerge"
|
||||
pti = "on"
|
||||
console = "tty0"
|
||||
console = "ttyS0"
|
||||
printk.devkmsg = "on"
|
||||
}
|
||||
]
|
||||
|
||||
disk {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue