Re: [master&rhel6-branch 7/8] Don't let loader write HWADDR to ifcfg file on s390. (#595388)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ack, applying.

On Wed, 2 Jun 2010, Steffen Maier wrote:

See also bug 546005 and bug 546005 or bug 591533.
---
loader/net.c |    2 ++
1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/loader/net.c b/loader/net.c
index 8e37a66..769c1d4 100644
--- a/loader/net.c
+++ b/loader/net.c
@@ -1284,7 +1284,9 @@ int writeEnabledNetInfo(iface_t *iface) {
    }

    fprintf(fp, "DEVICE=%s\n", iface->device);
+#if !defined(__s390__) && !defined(__s390x__)
    fprintf(fp, "HWADDR=%s\n", iface_mac2str(iface->device));
+#endif
    fprintf(fp, "ONBOOT=yes\n");

    if (!FL_NOIPV4(flags)) {


--
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux