Mercurial > code > home > repos > infra
diff net.py @ 283:0befc8696a07
ws
author | drewp@bigasterisk.com |
---|---|
date | Mon, 15 Apr 2024 02:28:05 -0700 |
parents | 4e424a144183 |
children | 73ec5064da44 |
line wrap: on
line diff
--- a/net.py Mon Apr 15 02:27:07 2024 -0700 +++ b/net.py Mon Apr 15 02:28:05 2024 -0700 @@ -5,6 +5,7 @@ is_pi = host.get_fact(LinuxDistribution)['name'] in ['Debian', 'Raspbian GNU/Linux'] is_wifi = False + def cleanup(): # past attempts files.file(path='/etc/network/interfaces', present=False) @@ -96,7 +97,7 @@ create_remote_dir=True, ) apt.packages(packages=['network-manager'], present=False) - + systemd.service(service='systemd-networkd.service', enabled=True, running=True, restarted=True) # delete?