# What the job can see of the machine (docs/m0.md ยง2). echo "kernel: $(uname -r), cpus: $(nproc), user: $(id -u)" echo "interfaces: $(tail -n +3 /proc/net/dev | cut -d: -f1 | tr -d ' ' | tr '\n' ' ')" if wget -q -T 3 -O /dev/null http://1.1.1.1 2>/dev/null; then echo "network reachable: not isolated" >&2; exit 1; fi echo "no network" if touch /etc/flow-probe 2>/dev/null; then echo "rootfs writable" >&2; exit 1; fi echo "rootfs read-only"