Mercurial > code > home > repos > infra
diff kube.py @ 67:2f2e88849415
cleanups and docker source update
author | drewp@bigasterisk.com |
---|---|
date | Wed, 04 May 2022 23:40:14 -0700 |
parents | 32b32ee2211a |
children | f0e59adf7b91 |
line wrap: on
line diff
--- a/kube.py Wed May 04 23:38:22 2022 -0700 +++ b/kube.py Wed May 04 23:40:14 2022 -0700 @@ -34,7 +34,6 @@ if is_pi: old_cmdline = host.get_fact(FindInFile, path='/boot/cmdline.txt', pattern=r'.*')[0] - print(repr(old_cmdline)) if 'cgroup' not in old_cmdline: cmdline = old_cmdline + ' cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory' files.line(path='/boot/cmdline.txt', line='.*', replace=cmdline)