Mercurial > code > home > repos > infra
comparison system.py @ 278:4e424a144183
for netboot pi
author | drewp@bigasterisk.com |
---|---|
date | Sat, 30 Mar 2024 00:15:46 -0700 |
parents | ff36727f3a10 |
children | a46eb2a77df7 |
comparison
equal
deleted
inserted
replaced
277:ce823a167641 | 278:4e424a144183 |
---|---|
55 if not is_pi: | 55 if not is_pi: |
56 files.line(path='/etc/update-manager/release-upgrades', line="^Prompt=", replace="Prompt=normal") | 56 files.line(path='/etc/update-manager/release-upgrades', line="^Prompt=", replace="Prompt=normal") |
57 | 57 |
58 if is_pi and host.name != 'pipe': | 58 if is_pi and host.name != 'pipe': |
59 pi_tmpfs() | 59 pi_tmpfs() |
60 files.template(src='templates/boot_config.txt.j2', dest='/boot/config.txt') | 60 |
61 # this now lives on pipe in /opt/dnsmasq/tftp/f63f14b6/config.txt | |
62 #files.template(src='templates/boot_config.txt.j2', dest='/boot/config.txt') | |
61 | 63 |
62 if host.name in ['bang', 'pipe', 'ditto']: | 64 if host.name in ['bang', 'pipe', 'ditto']: |
63 no_sleep() | 65 no_sleep() |
64 | 66 |
65 if host.name in ['bang', 'ditto']: | 67 if host.name in ['bang', 'ditto']: |