k8s: Silence package manager and make it noninteractive 91/92291/3
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Tue, 30 Jul 2019 14:43:19 +0000 (16:43 +0200)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Wed, 31 Jul 2019 13:47:41 +0000 (15:47 +0200)
commit625be0d2f81705b3ab863ee3d13948f4355e2a7b
tree322257b83b4b2df2f06121730d9af0264eb78db0
parent2d13ea81519bacdd7f17ce91ec06bc7ac26a6cac
k8s: Silence package manager and make it noninteractive

This patch sets debconf frontend to noninteractive by including
additional field in the first stanza of configuration file. Its
placement has been chosen arbitrarily - both 'Config' and 'Templates'
fields "are required in this first stanza" [1].

It also makes symlinking script more generic.

[1] man 5 debconf.conf (provided by "debconf-doc" in Ubuntu)

Issue-ID: SECCOM-235
Change-Id: If9dcc712d1ff7f527d3bc59f4c1709cffe4cbda5
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
test/security/k8s/tools/config/95silent-approval [new file with mode: 0644]
test/security/k8s/vagrant/dublin/Vagrantfile