From 095339ed9094ce80c67330c98b5c005a6cd612b2 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 18 Nov 2021 11:43:25 -0500 Subject: [PATCH] Have apt-get not prompt to install --- imgutil/imgutil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgutil/imgutil b/imgutil/imgutil index 91efc8af..047e5837 100644 --- a/imgutil/imgutil +++ b/imgutil/imgutil @@ -540,7 +540,7 @@ class DebHandler(OsHandler): shutil.copy('/etc/apt/sources.list', os.path.join(self.targpath, 'etc/apt/sources.list')) args.cmd = ['apt-get', 'update'] run_constrainedx(fancy_chroot, (args, self.targpath)) - args.cmd = ['apt-get', 'install'] + self.includepkgs + args.cmd = ['apt-get', '-y', 'install'] + self.includepkgs run_constrainedx(fancy_chroot, (args, self.targpath))