blob: 88e6cc4c7a9aaa0f8edb7900f8d84ba80b8a4066 [file] [log] [blame]
Jan Kundrát04e72cd2017-04-21 22:44:36 +02001#!/bin/bash
2
3set -eux -o pipefail
4shopt -s failglob
5
6for IFACE in eth0 enp0s13 enp0s14; do
7 cat <<EOF > ${TARGET_DIR}/usr/lib/systemd/network/${IFACE}.network
8[Match]
9Name=${IFACE}
10[Network]
11DHCP=yes
12EOF
13done