appvm/qubes_core: do not set hostname for DispVM

This commit is contained in:
Joanna Rutkowska 2010-07-30 16:01:15 +02:00
parent 4d26334709
commit f4198057f8

View File

@ -48,7 +48,12 @@ start()
fi
name=$(/usr/bin/xenstore-read 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-<hostname>)
# (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)