adamant-kite-43734
11/08/2024, 10:26 AMacoustic-country-10006
11/08/2024, 10:33 AM/etc/kubernetes/cloud-config as in https://docs.harvesterhci.io/v1.3/rancher/cloud-provider/#deploying-to-the-k3s-cluster-with-harvester-node-driver-experimental. I think this might be doable at the MachineRegistration level but I’ve run into a few other issues trying to get this to work 😅
b) Setting the hostname to my VM name when creating the machine (at some point I’ll revisit https://github.com/rancher-sandbox/linuxkit/pull/5 so this isn’t needed, I just haven’t had time lately 😢 )sticky-tailor-45974
11/11/2024, 4:27 PMuser data in Harvester ? from what you say I understand this is then added as /oem/userdata in the VM OS, is that correct?
In oder to get the /oem/userdata seen as a data source user data you should add the file datasource provider. See here, we are considering only block devices (cdrom or vfat block devices). Could be changed to something like:
name: "Elemental cloud-config datasources"
stages:
initramfs:
- datasource:
providers: ["cdrom", "file"]
path: "/oem"sticky-tailor-45974
11/11/2024, 5:00 PM/system/oem/02_datasources.yaml so I think I might not fully understand the issue you are exposing.
Regarding https://github.com/rancher-sandbox/linuxkit/pull/5, the offer still stands, we can proceed with it if you don't have time or need help. As said in the comment just ask if you need help or want us to continue with it. Frankly speaking I forgot about it during summer...acoustic-country-10006
11/19/2024, 9:19 PMacoustic-country-10006
11/19/2024, 9:20 PMacoustic-country-10006
11/19/2024, 9:21 PM/dev/vdc, containing two files, meta-data, and user-dataacoustic-country-10006
11/19/2024, 9:26 PMacoustic-country-10006
11/19/2024, 9:32 PM/oem (slack’s thumbnail for this screenshot doesn’t show it, you have to open the image)acoustic-country-10006
11/19/2024, 9:35 PMuserdata in /oem, and not also userdata.yamlacoustic-country-10006
11/19/2024, 9:36 PMAt boot thefile will be copied as is touser-dataand in case it contains cloud-config data an extra copy will be added as/oem/user-data. The file/oem/user-data.yamlwill be parsed on any later cloud-init stage./oem/user-data.yaml
If theis not containing cloud-config data the Elemental client will just copy it as is touser-data. Only/oem/user-datafiles are parsed when executing cloud-init stages, so in that case the file will be ignored by cloud-init services.*.yaml
acoustic-country-10006
11/19/2024, 9:38 PMuser-data to userdata in both cases since this contradicts the docco but given it seems fine in my 5.5 / 1.1.6 example I’ll ignore that for nowacoustic-country-10006
11/19/2024, 9:39 PMacoustic-country-10006
11/19/2024, 10:02 PMacoustic-country-10006
11/19/2024, 10:41 PMacoustic-country-10006
11/26/2024, 9:19 AM