4
0
Fork 0

fixed data prepare init script

This commit is contained in:
Benjamin Böhmke 2019-12-15 15:29:11 +01:00
parent 36db1f5096
commit 129281fc96
1 changed files with 1 additions and 0 deletions

View File

@ -200,6 +200,7 @@ root_pw=\$(mkpasswd -m sha-512 -s "${DEFAULT_ROOT_PASSWORD}")
echo "root:\${root_pw}:0:0:::::" > /data/etc/shadow
# interface
mkdir -p /data/etc/network
if [ ! -f /data/etc/network/interfaces ]; then
cat > /data/etc/network/interfaces <<EOF2
auto lo