From 2439555290262bf5c4d98819125a451c26c8aac6 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Thu, 21 Feb 2019 22:29:52 -0500 Subject: [PATCH] Fix sudo warnings in Ubuntu --- images/ubuntu/genimg | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/images/ubuntu/genimg b/images/ubuntu/genimg index 6c248c7..240f59a 100755 --- a/images/ubuntu/genimg +++ b/images/ubuntu/genimg @@ -95,6 +95,12 @@ EOF run_root systemctl enable systemd-networkd.service run_root systemctl enable systemd-timesyncd.service +cat </mnt/etc/hosts +127.0.0.1 localhost.localdomain localhost +::1 localhost.localdomain localhost +127.0.0.1 build.localdomain build +EOF + cat >/mnt/etc/apt/sources.list <