melato / lxops

Apache License 2.0
8 stars 0 forks source link

If device-template is used, check that each device has a template #20

Closed melato closed 9 months ago

melato commented 9 months ago

Now that I've switched to launching containers from images, instead of cloning other instances, I need to make sure that I have called "extract" first, to extract devices from the image. If I forget to do this, the instance will quietly launched with empty devices, and it may not work properly.

Add a check that ensures that I don't use empty non-transient devices.

melato commented 9 months ago

Done. If a device template is missing, it is an error. If you want to proceed anyway, you have to create the template filesystem. You can use "lxops extract" to do this.