Move resolv.conf fase from prepare to fetch
This commit is contained in:
parent
93b46fa8e7
commit
08ba15ed9d
2 changed files with 4 additions and 4 deletions
|
@ -62,6 +62,10 @@ cat << EOF > ${root}/login_shell
|
|||
exec -a "-sh" /bin/sh
|
||||
EOF
|
||||
|
||||
sudo cp /etc/resolv.conf ${ROOT}/etc/resolv.conf
|
||||
echo "Copied the host resolv.conf into the target"
|
||||
echo "Feel free to override the generated network settings prior to chrooting into the system"
|
||||
|
||||
echo "---------------------"
|
||||
echo "finished chroot_fetch"
|
||||
echo "---------------------"
|
||||
|
|
|
@ -112,10 +112,6 @@ echo "Hostname: ${HOSTNAME}"
|
|||
mkdir ${ROOT}/etc
|
||||
echo "$HOSTNAME" > ${ROOT}/etc/hostname
|
||||
|
||||
sudo cp /etc/resolv.conf ${ROOT}/etc/resolv.conf
|
||||
echo "Copied the host resolv.conf into the target"
|
||||
echo "Feel free to override the generated network settings prior to chrooting into the system"
|
||||
|
||||
echo "Finished prepare_chroot_lazy"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue