Examples showing #cloud-config
files with stages.boot
sections don't work
#2892
Labels
#cloud-config
files with stages.boot
sections don't work
#2892
Kairos version:
CPU architecture, OS, and Version:
Linux beta 6.8.0-44-generic #44-Ubuntu SMP PREEMPT_DYNAMIC Tue Aug 13 13:35:26 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Describe the bug
After trying to use the examples that use PXE and cloud-init to provision a system, none of the steps in
stages: boot:
were being applied. If I rename the step toboot.after:
it will work.After a lot of digging through the code, it appears that Yip detects the "
#cloud-config
" line at the top of the file and transpiles fromcloudInit
style toyipYaml
which tries to merge thestages:
sections for boot. I'm not sure if this is a problem when the PXE install happens or after the installation occurs.To Reproduce
config_url=
set to that cloud-configExpected behavior
Installation should occur, reboot, and then apply steps from "stages: boot:"
Logs
Additional context
When the steps are renamed to "
boot.after
" this appears to work.The text was updated successfully, but these errors were encountered: