scahartner
January 6th, 2021, 11:35 AM
I am trying to boot a bare-metal system running ubuntu 20 and use cloud-init with the nocloud datasource (https://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html) to apply the initial configuration.
I was thinking about updating grub to apply the settings:
ds=nocloud-net;s=http://10.10.0.1:8000/
and then host the user-data and meta-data files via http.
However I am not sure were I need to specify the grub parameters.
root@ubuntu-base:/home/user# cloud-init status --long
status: done
time: Wed, 06 Jan 2021 09:53:14 +0000
detail:
DataSourceNone
The system was installed using PXE and autoinstall so cloud-init has already been installed and seems to be working. I am hoping that I just have to introduce a new datasource and then apply the configration via user-data.
Any pointers on how to pass these parameters to the system.
I was thinking about updating grub to apply the settings:
ds=nocloud-net;s=http://10.10.0.1:8000/
and then host the user-data and meta-data files via http.
However I am not sure were I need to specify the grub parameters.
root@ubuntu-base:/home/user# cloud-init status --long
status: done
time: Wed, 06 Jan 2021 09:53:14 +0000
detail:
DataSourceNone
The system was installed using PXE and autoinstall so cloud-init has already been installed and seems to be working. I am hoping that I just have to introduce a new datasource and then apply the configration via user-data.
Any pointers on how to pass these parameters to the system.