From 69d79ea884ceb252b1be00d3d6b48f5b6c9c990f Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Wed, 23 May 2018 18:22:20 +0100 Subject: Enable remote host name resolution when running stage2 installer. --- lib/MGA/DrakISO/BuildRoot.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/MGA') diff --git a/lib/MGA/DrakISO/BuildRoot.pm b/lib/MGA/DrakISO/BuildRoot.pm index 1b3ed34..894657d 100644 --- a/lib/MGA/DrakISO/BuildRoot.pm +++ b/lib/MGA/DrakISO/BuildRoot.pm @@ -133,6 +133,8 @@ sub install_live_system { mkdir_p($etc); output($etc . '/hosts', "127.0.0.1 localhost\n"); + copy_to_root($chroot, '/etc/', undef, '/etc/resolv.conf'); + my $var = $chroot . '/var'; mkdir_p($var); -- cgit v1.2.1