Files
monok8s/docs/ota.md

308 B

Simulate OTA

Use nmap ncat. Otherwise we'll have all kinds of fabulous issues sending it.

Sending side

pv "out/rootfs.ext4.zst" | ncat 10.0.0.10 1234 --send-only

Receiving side

ncat -l 1234 --recv-only | zstd -d -c | dd of=/dev/sda3 bs=4M status=progress && sync && echo "SUCCESS"