Mercurial > code > home > repos > infra
diff dns.py @ 280:5c5c314051c5
updates for pis
author | drewp@bigasterisk.com |
---|---|
date | Sun, 14 Apr 2024 20:58:39 -0700 |
parents | 4e424a144183 |
children | e10ee3ddadcf |
line wrap: on
line diff
--- a/dns.py Sun Apr 14 20:54:35 2024 -0700 +++ b/dns.py Sun Apr 14 20:58:39 2024 -0700 @@ -61,7 +61,7 @@ for _, pi_hostname in pi_serial_hostname: out= f'{iscsi_dir}/{pi_hostname}.disk' files.directory(path=iscsi_dir) - server.shell(f'dd if=/dev/zero of={out} count=0 bs=1 seek=4G conv=excl || true') + server.shell(f'dd if=/dev/zero of={out} count=0 bs=1 seek=5G conv=excl || true') files.put(dest=f"/etc/tgt/conf.d/{pi_hostname}.conf", src=StringIO(f""" <target iqn.2024-03.com.bigasterisk:{pi_hostname}.target> backing-store {out}