fancy-fountain-55453
08/19/2025, 11:06 AMacoustic-addition-45641
08/19/2025, 12:42 PMfancy-fountain-55453
08/19/2025, 1:11 PMfancy-fountain-55453
08/19/2025, 2:42 PMfancy-fountain-55453
08/19/2025, 2:44 PMthousands-advantage-10804
08/19/2025, 2:47 PMthousands-advantage-10804
08/19/2025, 2:52 PMfancy-fountain-55453
08/19/2025, 3:07 PMfancy-fountain-55453
08/19/2025, 3:08 PMthousands-advantage-10804
08/19/2025, 3:14 PMfancy-fountain-55453
08/19/2025, 3:15 PMacoustic-addition-45641
08/19/2025, 6:55 PMthousands-advantage-10804
08/19/2025, 6:59 PMprehistoric-morning-49258
08/19/2025, 7:09 PMkargs
like harvester.install.automatic=true harvester.install.config_url
etc and it will install from ISO? we've basically done this before in a pinchfancy-fountain-55453
08/19/2025, 7:29 PMUser and network data are passed to the instance via a so called _config drive_, which is a small additional disk partition created on the root device during provisioning.
so it also boils down auto mounting some config as a separate partition.fancy-fountain-55453
08/19/2025, 7:30 PMprehistoric-morning-49258
08/20/2025, 5:57 AMthousands-advantage-10804
08/20/2025, 2:37 PMthousands-advantage-10804
08/20/2025, 2:39 PMkernel ${live_endpoint}/harvester/harvester-v1.5.1-vmlinuz-amd64 ip=dhcp net.ifnames=1 console=tty1 rd.cos.disable root=live:${live_endpoint}/harvester/harvester-v1.5.1-rootfs-amd64.squashfs rd.noverifyssl harvester.install.iso_url=${live_endpoint}/harvester/harvester-v1.5.1-amd64.iso harvester.install.automatic=true harvester.install.config_url=${live_endpoint}/harvester/harvester_slim.yaml
the kernel needs to know the location of the config file.
Crap *Note*: image.checksum, rootDeviceHints, networkData and userData will not be used since the image is not written to disk.
fancy-fountain-55453
08/20/2025, 2:48 PMsince this is living rent free in my head..
- I know the feeling ๐ today I mobilized people to fix the bare metal network in our small DC so I can experiment ๐
@thousands-advantage-10804 regarding extra kernel params I found this https://github.com/metal3-io/baremetal-operator/blob/4409f7185cef78b4162da8a4c5acb[โฆ]546/config/base/crds/bases/metal3.io_preprovisioningimages.yaml
I need to dig into this, but even if some option is lacking it's just pull request to metal3 away from beeing added ๐thousands-advantage-10804
08/20/2025, 3:01 PMprehistoric-morning-49258
08/26/2025, 11:08 AMIRONIC_KERNEL_PARAMS - Kernel parameters to pass to IPA (default console=ttyS0)
sounds like it ought to workprehistoric-morning-49258
08/26/2025, 11:17 AMfancy-fountain-55453
08/26/2025, 11:18 AMIRONIC_KERNEL_PARAMS
but those parameters go to the IPA (ironic python agent) ramdisk that is first booted to inspect/configure baremetal, before actually OS happens. So far I failed to find a way to inject anything apart from mounted disk with USER_DATA
and NETWORK_DATA
which are later used by cloud-init and such.prehistoric-morning-49258
08/26/2025, 11:34 AMprehistoric-morning-49258
09/01/2025, 4:50 PMRUN <<EOF cat > run.ipxe
#!ipxe
shell
EOF
or you can update to like:
#!ipxe
chain https://[my_server]/harvester-config.ipxe
should then be able to just boot ISO and have Harvester auto-installthousands-advantage-10804
09/01/2025, 4:50 PMfancy-fountain-55453
09/01/2025, 4:55 PMfancy-fountain-55453
09/01/2025, 4:55 PMprehistoric-morning-49258
09/01/2025, 4:59 PMprehistoric-morning-49258
09/01/2025, 5:06 PMbooted OS will not be able to access any data on the ISO except for the kernel and initramfs it booted from
- in theory this is fine, you can boot & autoinstall from kernel/initrd + http squashfs/ISO + kernel argsfancy-fountain-55453
09/01/2025, 5:07 PMfancy-fountain-55453
09/01/2025, 5:10 PMfancy-fountain-55453
09/01/2025, 5:12 PMprehistoric-morning-49258
09/01/2025, 5:17 PM