From d0d81076bbc1856b093f1d147973e8f9f093c6d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20P=C3=A1ral?= Date: Mon, 31 Oct 2016 18:51:54 +0100 Subject: [PATCH] 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 --- fedora-live-base.ks | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fedora-live-base.ks b/fedora-live-base.ks index 3c5f279..31568e6 100644 --- a/fedora-live-base.ks +++ b/fedora-live-base.ks @@ -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