blob: 88e6cc4c7a9aaa0f8edb7900f8d84ba80b8a4066 [file] [log] [blame]
#!/bin/bash
set -eux -o pipefail
shopt -s failglob
for IFACE in eth0 enp0s13 enp0s14; do
cat <<EOF > ${TARGET_DIR}/usr/lib/systemd/network/${IFACE}.network
[Match]
Name=${IFACE}
[Network]
DHCP=yes
EOF
done