diff --git a/dom0/init.d/qubes_setupdvm b/dom0/init.d/qubes_setupdvm index fcb00d32..5ff768f2 100755 --- a/dom0/init.d/qubes_setupdvm +++ b/dom0/init.d/qubes_setupdvm @@ -25,28 +25,6 @@ start() chmod 660 /var/run/qubes/dispVM_seq ROOT=/var/lib/qubes/dvmdata/savefile_root DEFAULT=/var/lib/qubes/dvmdata/default_savefile - create_neeed=0 - if ! [ -f $DEFAULT ] ; then create_neeed=1 ; fi - if ! [ -f $ROOT ] ; then create_neeed=1 ; fi - if [ $ROOT -nt $DEFAULT ] ; then create_neeed=1 ; fi - if [ $create_neeed = 1 ] ; then - MSG="Creating default DVM. This may take up to 2 minutes..." - echo " $MSG" - if [ -x /usr/bin/plymouth ]; then - /usr/bin/plymouth message --text="$MSG" - /usr/bin/plymouth pause-progress - fi - qvm-create-default-dvm --default-template --default-script - DVMDIR="/var/lib/qubes/appvms/`qvm-get-default-template`-dvm" - /bin/chown -R root.qubes "$DVMDIR" - /bin/chmod -R ug=rwX,o=rX "$DVMDIR" - if [ -x /usr/bin/plymouth ]; then - /usr/bin/plymouth message --text="" - /usr/bin/plymouth unpause-progress - fi - success - return - fi if [ -f /var/lib/qubes/dvmdata/dont_use_shm ] ; then ln -s $DEFAULT /var/run/qubes/current_savefile else