Do not overwrite ifcfg files generated by Anaconda kickstart (#865192)
authorRadek Vykydal <rvykydal@redhat.com>
Tue, 16 Oct 2012 10:34:43 +0000 (12:34 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 16 Oct 2012 12:43:13 +0000 (14:43 +0200)
modules.d/45ifcfg/write-ifcfg.sh

index 8cc3796..ae37358 100755 (executable)
@@ -85,6 +85,7 @@ print_s390() {
 
 
 for netif in $IFACES ; do
+    [ -e /tmp/ifcfg/ifcfg-$netif ] && continue
     # bridge?
     unset bridge
     unset bond