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
This commit is contained in:
Kamil Páral 2016-10-31 18:51:54 +01:00
parent 5468763219
commit d0d81076bb
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