From d60bcd178613cf986edfad90784829fbfdf84810 Mon Sep 17 00:00:00 2001 From: Joanna Rutkowska Date: Fri, 30 Jul 2010 16:01:15 +0200 Subject: [PATCH] appvm/qubes_core: do not set hostname for DispVM --- appvm/qubes_core | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/appvm/qubes_core b/appvm/qubes_core index bd3346a..c8dd150 100755 --- a/appvm/qubes_core +++ b/appvm/qubes_core @@ -48,7 +48,12 @@ start() fi name=$(/usr/bin/xenstore-read name) - hostname $name + if ! [ -f /etc/this_is_dvm ] ; then + # we don't want to set hostname for DispVM + # because it makes some of the pre-created dotfiles invalid (e.g. .kde/cache-) + # (let's be frank: nobody's gonna use xterm on DispVM) + hostname $name + fi ip=$(/usr/bin/xenstore-read qubes_ip) netmask=$(/usr/bin/xenstore-read qubes_netmask)