appvm/qubes_core: do not set hostname for DispVM
This commit is contained in:
parent
4d26334709
commit
f4198057f8
@ -48,7 +48,12 @@ start()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
name=$(/usr/bin/xenstore-read name)
|
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-<hostname>)
|
||||||
|
# (let's be frank: nobody's gonna use xterm on DispVM)
|
||||||
|
hostname $name
|
||||||
|
fi
|
||||||
|
|
||||||
ip=$(/usr/bin/xenstore-read qubes_ip)
|
ip=$(/usr/bin/xenstore-read qubes_ip)
|
||||||
netmask=$(/usr/bin/xenstore-read qubes_netmask)
|
netmask=$(/usr/bin/xenstore-read qubes_netmask)
|
||||||
|
Loading…
Reference in New Issue
Block a user