forked from srbala/fedora-kickstarts
Make new hostname take effect immediately
There was race condition between hostname taking effect and lightdm setting up Xorg service that X client would fail to find a proper xauth entry to connect the X server. hostnamectl will also rewrite /etc/hostname.
This commit is contained in:
parent
02043d4f16
commit
44dc9ec700
@ -224,7 +224,7 @@ touch /.liveimg-configured
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
|
||||
# the hostname must be something else than 'localhost'
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1370222
|
||||
echo "localhost-live" > /etc/hostname
|
||||
hostnamectl set-hostname "localhost-live"
|
||||
|
||||
EOF
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user