Hi, not related to cloudinit, but for virtio-net nic, it's already possible to add "mtu=xxx" option to netX:.....
It's not yet available in gui, but you should be able to do it with "qm set <vmid> --net0 ...,mtu=xxxx" ----- Mail original ----- De: "proxmox" <[email protected]> À: "Proxmox VE development discussion" <[email protected]> Envoyé: Vendredi 4 Septembre 2020 17:21:24 Objet: Re: [pve-devel] [PATCH qemu-server] api: cloud-init support for mtu and userdata Hello I didn't know this patch mail got approved, so sorry for the (very) late response. My intention for not going with snippets was the fact that they could not be created via the API and one would have to manually create a file on the target machine for cloud-init userdata. One possible use case was to spin up a kubernetes cluster on proxmox only via API. I wanted to have something similar to the hetzner cloud API where the full userdata can be submitted for VM provisioning: https://docs.hetzner.cloud/#servers-create-a-server So going further here you want me to submit the MTU patches separately? Should I integrate userdata into the cicustom field? I thought this would make things more complex in favor of parsing out the base64 stuff. So I would still go with an extra field. Thoughts? _______________________________________________ pve-devel mailing list [email protected] https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel _______________________________________________ pve-devel mailing list [email protected] https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
