Update code/OS-administration/mount_lvm_image.sh

Co-Authored-By: neowutran <me@neowutran.ovh>
This commit is contained in:
awokd 2019-04-13 06:11:22 +00:00 committed by GitHub
parent aa32e81467
commit 5e4c1cf3b7

View File

@ -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"