4
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

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 echo "root:\${root_pw}:0:0:::::" > /data/etc/shadow
# interface # interface
mkdir -p /data/etc/network
if [ ! -f /data/etc/network/interfaces ]; then if [ ! -f /data/etc/network/interfaces ]; then
cat > /data/etc/network/interfaces <<EOF2 cat > /data/etc/network/interfaces <<EOF2
auto lo auto lo