nocloud configuration from the following providers:
There are two ways to configure Talos server with nocloud platform:
- via SMBIOS “serial number” option
- using CDROM or USB-flash filesystem
Note: This requires the nocloud image which can be downloaded from the Image Factory.
SMBIOS Serial Number
This method requires the network connection to be up (e.g. via DHCP). Configuration is delivered from the HTTP server.- the machine config from
http://10.10.0.1/configs/user-data - the network config (if available) from
http://10.10.0.1/configs/network-config
SMBIOS: QEMU
Add the following flag toqemu command line when starting a VM:
SMBIOS: Proxmox
Set the source machine config through the serial number on Proxmox GUI.
root shell with the command qm config $ID ($ID - VM ID number of virtual machine), you will see something like:
ds=nocloud-net;s=http://10.10.0.1/configs/.
The serial can also be set from a root shell on the Proxmox server:
smbios1 option or they will be removed.
CDROM/USB
Talos can also get machine config from local attached storage without any prior network connection being established. You can provide configs to the server via files on a VFAT or ISO9660 filesystem. The filesystem volume label must becidata or CIDATA.
Example: QEMU
Create and prepare Talos machine config:Example: Proxmox
Proxmox can create cloud-init disk for you. Edit the cloud-init config information in Proxmox as follows, substitute your own information as necessary:
cicustom param to the virtual machine’s configuration from a root shell:
Note:Click onsnippets/controlplane-1.ymlis Talos machine config. It is usually located at/var/lib/vz/snippets/controlplane-1.yml. This file must be placed to this path manually, as Proxmox does not support snippet uploading via API/GUI.
Regenerate Image button after the above changes are made.