#!/usr/bin/env bash set -euo pipefail cat > /mnt/etc/systemd/network/90-all-en.network <<'EOF' [Match] Name=en* [Network] DHCP=ipv4 EOF