mirror of
https://github.com/Qubes-Community/Contents.git
synced 2024-12-22 13:55:08 -05:00
Update code/OS-administration/mount_lvm_image.sh
Co-Authored-By: neowutran <me@neowutran.ovh>
This commit is contained in:
parent
aa32e81467
commit
5e4c1cf3b7
@ -8,7 +8,7 @@
|
||||
# Remove the LVM image from the qvm-block list
|
||||
######################################################
|
||||
|
||||
image=${1?Image file is required, exemple "/dev/qubes_dom0/vm-debian-9-tmp-root"}
|
||||
image=${1?Image file is required, example "/dev/qubes_dom0/vm-debian-9-tmp-root"}
|
||||
dvm=${2?DVM template name is required, example: "fedora-29-dvm"}
|
||||
dev=$(basename $(readlink "$image"))
|
||||
qubesdb-write /qubes-block-devices/$dev/desc "$image"
|
||||
|
Loading…
Reference in New Issue
Block a user