2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 11:01:09 +00:00

Have apt-get not prompt to install

This commit is contained in:
Jarrod Johnson 2021-11-18 11:43:25 -05:00
parent 5769cba3d1
commit 095339ed90

View File

@ -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))