Mercurial > code > home > repos > infra
diff multikube_wipe.py @ 136:375515ab60ba
multikube experiment junk. do not run
author | drewp@bigasterisk.com |
---|---|
date | Wed, 21 Dec 2022 17:44:32 -0800 |
parents | c520672d0930 |
children | 3af02e24eaf9 |
line wrap: on
line diff
--- a/multikube_wipe.py Wed Dec 21 17:42:28 2022 -0800 +++ b/multikube_wipe.py Wed Dec 21 17:44:32 2022 -0800 @@ -7,3 +7,5 @@ files.put(dest='/usr/local/bin/k3s-killall.sh', src='files/kube/k3s-killall.sh', mode='a+rx') files.put(dest='/usr/local/bin/k3s-uninstall.sh', src='files/kube/k3s-uninstall.sh', mode='a+rx') server.shell(['k3s-uninstall.sh']) + for n in ['k3s-agent.service', 'k3s-agent.service.env', 'k3s-node.service']: + files.file(path=f'/etc/systemd/system/{n}', present=False) \ No newline at end of file