lxdware / lxd-dashboard

This LXD dashboard is a web-based user interface (GUI) for managing containers and virtual machines through LXD
https://lxdware.com
GNU Affero General Public License v3.0
310 stars 37 forks source link

Attaching/Detaching Volume to Instance #9

Closed nikhilreddie closed 3 years ago

nikhilreddie commented 3 years ago

Please add a feature to attach/detach a volume to instance. We already have a feature to create a volume from storage pool but attaching/detaching created volume to instance is missing which is there in LXD-MOSAIC.

matthewalanpenning commented 3 years ago

Thanks, another great suggestion. I have coded a GUI option for attaching/detaching disk devices, proxy devices, and network devices that I am planning on including in the 2.1.0 version that should be released in a few weeks.

nikhilreddie commented 3 years ago

@matthewalanpenning Is it possible to add those devices to instance when it is running?

matthewalanpenning commented 3 years ago

Yes and no. Yes I can add storage volumes while a container instance is running and it mounts into the system just fine. For virtual machine instances the LXD REST API responds back stating that the instance must be turned off before adding a storage volume.

matthewalanpenning commented 3 years ago

I just pushed out v2.1.0 and it now has support for adding disk devices to instances using a web form.