fedora-live-base: change static hostname to localhost-live

This prevents systemd to update it during boot if DHCP supplies a
hostname, which causes sddm to not start. See
https://bugzilla.redhat.com/show_bug.cgi?id=1370222

Signed-off-by: Kamil Páral <kparal@redhat.com>
This commit is contained in:
Kamil Páral 2016-10-31 18:51:54 +01:00
parent fd9aaf95a0
commit 85bb31edc6
1 changed files with 3 additions and 1 deletions

View File

@ -214,7 +214,9 @@ touch /.liveimg-configured
# add static hostname to work around xauth bug
# https://bugzilla.redhat.com/show_bug.cgi?id=679486
echo "localhost" > /etc/hostname
# the hostname must be something else than 'localhost'
# https://bugzilla.redhat.com/show_bug.cgi?id=1370222
echo "localhost-live" > /etc/hostname
EOF