canonical / lxd

Powerful system container and virtual machine manager
https://canonical.com/lxd
GNU Affero General Public License v3.0
4.38k stars 931 forks source link

Templates and metadata.yaml #3695

Closed jfgibbins closed 7 years ago

jfgibbins commented 7 years ago

Playing around with some of the features I haven't used yet and came across the lxc config template commands. Is there a way to also edit the corresponding metadata.yaml file in order to be able to use the created templates or is required to create an all new image?

stgraber commented 7 years ago

lxc config metadata edit?

jfgibbins commented 7 years ago

alright, I seriously need to increase my font size, or maybe the wife will let me get a 60" 4k as a monitor, it was there, just couldn't see it

stgraber commented 7 years ago

:)

jfgibbins commented 7 years ago

@stgraber Just noticed, on the current 2.18 version at least, bash completion doesn't show metadata or templates.

stgraber commented 7 years ago

oh, yeah, that needs updating again... I'll send a branch.