From d602e7ced364a3725e77061788d5d67481b74625 Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Thu, 31 Mar 2016 12:14:28 -0700 Subject: [PATCH] Add ubuntu-minimal and linux-firmware --- server/build_image.py | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/server/build_image.py b/server/build_image.py index 25971c8..35e4eaf 100755 --- a/server/build_image.py +++ b/server/build_image.py @@ -62,23 +62,16 @@ class ImageBuilder(object): _BASE_PACKAGES = [ 'daemontools-run', - 'debconf', 'devscripts', - 'dialog', 'git', - 'gnupg', - 'isc-dhcp-client', - 'locales', 'nano', - 'net-tools', 'iputils-ping', + 'linux-firmware', 'openssh-server', 'python3-openssl', - 'sudo', + 'ubuntu-minimal', 'ubuntu-standard', 'user-setup', - 'vim', - 'wget', ] _SUITES = [ @@ -201,6 +194,7 @@ class ImageBuilder(object): os.fchmod(fh.fileno(), stat.S_IRWXU) def _InstallPackages(self, chroot_path): + os.environ['DEBIAN_FRONTEND'] = 'noninteractive' self._ExecChroot( chroot_path, 'apt-get',