fickit: Use DHCP during preparation and update

This commit is contained in:
nemunaire 2022-06-02 12:02:38 +02:00
commit 722295989c
3 changed files with 10 additions and 8 deletions

View file

@ -47,8 +47,8 @@ files:
RAID=0
fi
ip a add 10.10.10.5/29 dev eth0
ip link set eth0 up
udhcpc -i eth0
# Try to detect backend/frontend setup
if ip l | grep eth3 > /dev/null
@ -105,7 +105,7 @@ files:
do
/root/install_grub ${DEFAULT_BOOT} "${DISK}"
done
/root/update_imgs
/root/update_imgs "$(ip r | grep default | awk '{ print $3 }')"
} ||
/bin/ash