python3 in shebangs
[pyplnet.git] / plnet.py
index d1eb293..b125fd2 100755 (executable)
--- a/plnet.py
+++ b/plnet.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python /usr/bin/plcsh
+#!/usr/bin/python3 /usr/bin/plcsh
 
 import os
 import socket
@@ -476,8 +476,9 @@ def prepDetails(interface, hostname=''):
     details = {}
     details['ONBOOT']  = 'yes'
     details['USERCTL'] = 'no'
+    # starting with f27, it's OK to use NetworkManager
     # attempt to work around issues seen starting with f23
-    details['NM_CONTROLLED'] = 'no'
+    details['NM_CONTROLLED'] = 'no'
     if interface['mac']:
         details['HWADDR'] = interface['mac']
     if interface['is_primary']: