qvm-create-default-dvm: use gray label for dvm-template (be consitent with VM template label)
This commit is contained in:
parent
0cfa61d681
commit
3856f7cdbd
@ -9,7 +9,7 @@ if ! [ -d "/var/lib/qubes/vm-templates/$1" ] ; then
|
|||||||
fi
|
fi
|
||||||
DVMTMPL="$1"-dvm
|
DVMTMPL="$1"-dvm
|
||||||
if ! [ -d "/var/lib/qubes/appvms/$DVMTMPL" ] ; then
|
if ! [ -d "/var/lib/qubes/appvms/$DVMTMPL" ] ; then
|
||||||
if ! qvm-create -t "$1" -l red "$DVMTMPL" ; then exit 1 ; fi
|
if ! qvm-create -t "$1" -l gray "$DVMTMPL" ; then exit 1 ; fi
|
||||||
fi
|
fi
|
||||||
if ! /usr/lib/qubes/qubes_prepare_saved_domain.sh \
|
if ! /usr/lib/qubes/qubes_prepare_saved_domain.sh \
|
||||||
"$DVMTMPL" "/var/lib/qubes/appvms/$DVMTMPL/dvm-savefile" $2 ; then
|
"$DVMTMPL" "/var/lib/qubes/appvms/$DVMTMPL/dvm-savefile" $2 ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user