I want to create my own lxd image ubuntu and rockey linux and it should have user called sysops with a public key
tomp
April 18, 2024, 12:07pm
2
You could use the images at the images:
with a /cloud
variant or use ubuntu:
remote (that has cloud-init installed), and then use cloud-init config in LXD to provision a user and a key to avoid needing to maintain your own images.
The LXD team is pleased to announce that there is now a new image server available that provides non-Ubuntu server images for both containers and virtual machine instances. As well as Ubuntu desktop images for virtual machines. Right now these are only being built for amd64 architecture.
It is now open for testing.
This new image server remote will be bundled with future versions of LXD starting with LXD 5.21.1.
The new server can be used with existing LXD deployments by adding it as a remoteā¦
https://documentation.ubuntu.com/lxd/en/latest/cloud-init/