I am trying to install ubuntu live server automatically with the help of PXE ubuntu cloud-init.
the system partially installing the Ubuntu live server but throughs the error while connecting to cloud-init.
this error is returning
My user-data:
#cloud-config
growpart:
mode: 'off'
locale: en_US.UTF-8
preserve_hostname: true
resize_rootfs: false
users:
- gecos: some_name
groups: adm,cdrom,dip,lxd,plugdev,sudo
lock_passwd: false
name: some_username
passwd: $6$J3jHt9.Ae3S7ToE/$K8oQs9GYt7yZY8Fs2kSDMKWzn4NgIgkTeYUnKXxV64tSvba77lrFQ4cA20kUkaqZPxdDXNLFuLgbXXXXXXXXX
shell: /bin/bash
cloud-init.log file shows from the errors:
DataSourceNoCloud: No local data found
...
Error in vendor-data response: 404 Client Error: Not Found for url: http://10.33.33.25/tftp/jammy/vendor-data
...
Failed to connect system bus: No such file or directory
...
I’ve tried modifying the user-data file, but it didn’t help. I suspect there might be an issue with the TFTP server or network configuration.
What I’ve Tried:
- Double-checked the file paths on the TFTP server.
- Ensured the network settings are correctly configured in cloud-init.
Any advice on resolving this would be greatly appreciated!