mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
fix(network): run IP bringup for all non-chroot boots
This commit is contained in:
parent
81815f3695
commit
962bc741aa
1 changed files with 2 additions and 2 deletions
|
|
@ -282,9 +282,9 @@ ensure_network_ready() {
|
|||
return
|
||||
fi
|
||||
|
||||
# Resumed QEMU boots (e.g. from stage0-work.img) can lose configured links.
|
||||
# Non-chroot boots can lose configured links (e.g. resumed QEMU stage images).
|
||||
# Bring the interface up deterministically before any source download.
|
||||
if [ "${QEMU}" = "True" ] && [ "${CHROOT}" != "True" ]; then
|
||||
if [ "${CHROOT}" != "True" ]; then
|
||||
dhcpcd --waitip=4
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue