qvm-create-default-dvm: use gray label for dvm-template (be consitent with VM template label)

This commit is contained in:
Joanna Rutkowska 2010-07-27 12:47:18 +02:00
parent 0cfa61d681
commit 3856f7cdbd

View File

@ -9,7 +9,7 @@ if ! [ -d "/var/lib/qubes/vm-templates/$1" ] ; then
fi
DVMTMPL="$1"-dvm
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
if ! /usr/lib/qubes/qubes_prepare_saved_domain.sh \
"$DVMTMPL" "/var/lib/qubes/appvms/$DVMTMPL/dvm-savefile" $2 ; then