Gitiles
Code Review
Sign In
gerrit.cesnet.cz
/
CzechLight
/
br2-external
/
a701bf8e2ce62840530c6a6300579e73448b82da
/
.
/
board
/
czechlight
/
common
/
dhcp-network.sh
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