Skip to content
This repository was archived by the owner on Feb 25, 2023. It is now read-only.

Commit 47f631f

Browse files
committed
build: add /etc/network/interfaces config
On update, sometimes the eth0 network interface broke with the default configuration. This commit defines it explicitly.
1 parent 00d4ba1 commit 47f631f

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

armbian/base/customize-armbian-rockpro64.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,7 @@ fi
700700

701701
# NETWORK ----------------------------------------------------------------------
702702
importFile "/etc/systemd/resolved.conf"
703+
importFile "/etc/network/interfaces"
703704

704705
## include Wifi credentials, if specified (experimental)
705706
if [[ -n "${BASE_WIFI_SSID}" ]]; then
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
source /etc/network/interfaces.d/*
2+
# Network is managed by Network manager
3+
4+
auto lo
5+
iface lo inet loopback
6+
7+
auto eth0
8+
iface eth0 inet dhcp

0 commit comments

Comments
 (0)