diff options
author | David Cantrell <dcantrell@redhat.com> | 2008-10-24 12:16:10 -1000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2008-10-24 12:16:10 -1000 |
commit | f92daebe85291cba6bb447903831136b9339dcde (patch) | |
tree | 30e92f90d5a1a93fdae3660c23f21684ff6d31bf /loader/net.c | |
parent | 596d89b8aac3088edc1ec5e0794a0b3bcbdc3f5e (diff) | |
download | anaconda-f92daebe85291cba6bb447903831136b9339dcde.tar.gz anaconda-f92daebe85291cba6bb447903831136b9339dcde.tar.xz anaconda-f92daebe85291cba6bb447903831136b9339dcde.zip |
Do not write NM_CONTROLLED=yes to ifcfg files (#468028)
Make the loader code match the behavior of the anaconda Python
code. Only write NM_CONTROLLED=no. If a device is controlled
by NM, don't write an NM_CONTROLLED line.
Diffstat (limited to 'loader/net.c')
-rw-r--r-- | loader/net.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/loader/net.c b/loader/net.c index 877d7b71b..846712ff9 100644 --- a/loader/net.c +++ b/loader/net.c @@ -1203,7 +1203,6 @@ int writeEnabledNetInfo(iface_t *iface) { fprintf(fp, "DEVICE=%s\n", iface->device); fprintf(fp, "HWADDR=%s\n", iface_mac2str(iface->device)); fprintf(fp, "ONBOOT=yes\n"); - fprintf(fp, "NM_CONTROLLED=yes\n"); if (!FL_NOIPV4(flags)) { if (iface->ipv4method == IPV4_DHCP_METHOD) { |