Ack. Radek Vykydal <rvykydal@xxxxxxxxxx> wrote: > --- > loader/net.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/loader/net.c b/loader/net.c > index ba74a46..ebb8e3c 100644 > --- a/loader/net.c > +++ b/loader/net.c > @@ -1417,8 +1417,8 @@ int writeEnabledNetInfo(iface_t *iface) { > } > } > > - if (iface->hostname) { > - fprintf(fp, "HOSTNAME=%s\n", iface->hostname); > + if (iface->hostname && iface->ipv4method == IPV4_DHCP_METHOD) { > + fprintf(fp, "DHCP_HOSTNAME=%s\n", iface->hostname); > } > > if (iface->domain) { > -- > 1.7.4 > > _______________________________________________ > Anaconda-devel-list mailing list > Anaconda-devel-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/anaconda-devel-list -- David Cantrell <dcantrell@xxxxxxxxxx> Supervisor, Installer Engineering Team Red Hat, Inc. | Seattle, WA | UTC-7 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list