--- network.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/network.py b/network.py index 3572374..435523c 100644 --- a/network.py +++ b/network.py @@ -157,9 +157,12 @@ class NetworkDevice(SimpleConfigFile): if key == 'ONBOOT': onBootWritten = 1 + if forceOffOnBoot or self.info[key].lower() == 'no': + s = s + "HOTPLUG=yes\n" if not onBootWritten: s = s + 'ONBOOT=no\n' + s = s + "HOTPLUG=yes\n" return s -- 1.6.5.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list