Skip ignition if flatcar.first_boot=1 is set #1001
-
I'm just getting started with Flatcar and booting with iPXE. I currently have the following pxe config
Is there a way to get ignition to no-op if this is not actually the first boot of the VM? I would like to avoid having to flip this flag if possible as there's not an easy way to do it with Terraform. I am considering using Matchbox for this but that would still require two terraform runs. My setup is with proxmox VMs and I have the boot order set to look at the disk first and then try network. However proxmox hangs at "Booting from hard disk" so I'm hoping there's a way to work around this purely with Flatcar/ignition. Ultimately I would love for it to always pxe boot and only run ignition the first time it boots without having to flip that flag. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I think I may have figured out how to get what I want. I set |
Beta Was this translation helpful? Give feedback.
-
Hi @cullenmcdermott, Is your plan is to install Flatcar on the disk once PXE booted? Using |
Beta Was this translation helpful? Give feedback.
I think I may have figured out how to get what I want. I set
wipeFilesystem
andwipeTable
to false so ignition still runs but it doesn't wipe my data so this works! If there was a way to have ignition just no-op that would be ideal but this will probably work for me.