how to start a new lxd with custom sizing. i mean something like that
lxc launch image ubuntu:22.04 2 cpu, 100GB disk 4gig memory ,…
In LXD 5.8 you can do:
lxc launch image ubuntu:22.04 2 -d root,size=100GiB -c limits.memory=4GiB
FIne. It was what i need for. Is there any documentation an example. I just thinking if i want to add more in start like user (uid,…) and create user on it.
lxc launch --help
and
Creating a user inside the instance and setting it up is usually best achieved with cloud-init:
1 Like