Struggling to modify dispvm

212 views
Skip to first unread message

qu...@qubu16.sbrk.co.uk

unread,
Mar 5, 2016, 10:36:55 AM3/5/16
to qubes...@googlegroups.com
I want to modify the default dispvm.
For ease of demonstrating whether it's working or not, I do the following:

dom0$ qvm-clone fedora-23 f23
dom0$ qvm-create-default-dvm f23
dom0$ qvm-run -a f23-dvm xterm
f23-dvm$ echo abc > test
f23-dvm$ sudo halt -p
dom0$ qvm-run -a f23-dvm xterm
f23-dvm$ cat test
abc
f23-dvm$ sudo halt -p
dom0$ touch .qubes-dispvm-customized
dom0$ qvm-create-default-dvm f23 --default-script
dom0$ echo xterm|/usr/lib/qubes/qfile-daemon-dvm qubes.VMShell dom0 DEFAULT red
f23-dvm$ cat test
cat: test: No such file or directory
f23-dvm$ sudo halt -p
dom0$ qvm-run -a f23-dvm xterm
f23-dvm$ cat test
abc

Obviously when I run qvm-create-default-dvm f23 the second time, it's just
creating a new dvm based on the virgin f23 template and not the f23-dvm version.
Where am I going wrong?

Thanks,
Paul

Andrew

unread,
Mar 5, 2016, 10:45:55 AM3/5/16
to qubes...@googlegroups.com
qu...@qubu16.sbrk.co.uk:
> dom0$ touch .qubes-dispvm-customized
This should be done in f23-dvm.

Andrew

qu...@qubu16.sbrk.co.uk

unread,
Mar 5, 2016, 11:05:40 AM3/5/16
to Andrew, qubes...@googlegroups.com
On Sat, Mar 05, 2016 at 03:45:50PM +0000, Andrew wrote:
> > dom0$ touch .qubes-dispvm-customized
> This should be done in f23-dvm.

Thank you! How many times have I done that while overlooking that?!

Cheers,
Paul
Reply all
Reply to author
Forward
0 new messages