create-vmachine: Copy resolv.conf to the guest
parent
e595052d4a
commit
066b1afc04
|
@ -56,6 +56,8 @@ mount -t tmpfs tmpfs "${MOUNTPOINT}"/run
|
||||||
echo "Extracting stage tarball..."
|
echo "Extracting stage tarball..."
|
||||||
tar -xjpf "${STAGE_TBZ}" -C "${MOUNTPOINT}"
|
tar -xjpf "${STAGE_TBZ}" -C "${MOUNTPOINT}"
|
||||||
|
|
||||||
|
cp -L /etc/resolv.conf "${MOUNTPOINT}/etc/resolv.conf"
|
||||||
|
|
||||||
echo "Installing critical packages..."
|
echo "Installing critical packages..."
|
||||||
# Installing packages must be done in a chroot instead of using the $ROOT
|
# Installing packages must be done in a chroot instead of using the $ROOT
|
||||||
# Portage environment variable because several ebuilds use enewuser/enewgroup
|
# Portage environment variable because several ebuilds use enewuser/enewgroup
|
||||||
|
|
Loading…
Reference in New Issue