create a flag file in /mnt/live if network is set up by initrd,
make dhclient.service in slax check for this file and skip network reconfig if exists
This commit is contained in:
+2
-1
@@ -739,9 +739,10 @@ change_root()
|
||||
{
|
||||
debug_log "change_root" "$*"
|
||||
|
||||
# if we are booting over httpfs, we need to copyup these files so they are
|
||||
# if we are booting over httpfs, we need to copyup some files so they are
|
||||
# accessible on union without any further lookup down, else httpfs locks
|
||||
if [ "$(network_device)" != "" ]; then
|
||||
touch "/net.up.flag"
|
||||
touch "$1/etc/resolv.conf"
|
||||
touch "$1/etc/hosts"
|
||||
touch "$1/etc/gai.conf"
|
||||
|
||||
Reference in New Issue
Block a user