Add verbose flag to container prep apt-key add
Display which keys are being imported to the image cache in the log file. The verbose output is not extremely long, but it does print about 2 lines per key so the logs will show which apt-keys are present in the cached image. Change-Id: I6d8423d9d1c8f35fa64c8ffc985a8543e4d25954
This commit is contained in:
parent
eeb21321f4
commit
fedd1a4704
|
@ -5,7 +5,7 @@ set -e -x
|
|||
|
||||
{% include 'templates/prep-scripts/_container_sys_setup.sh.j2' %}
|
||||
|
||||
apt-key add /root/repo.keys
|
||||
apt-key add -v /root/repo.keys
|
||||
rm /root/repo.keys
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get remove -y --purge snap* lxc* lxd* resolvconf* || true
|
||||
|
|
|
@ -14,7 +14,7 @@ apt-get remove -y --purge snap* lxc* lxd* resolvconf* || true
|
|||
apt-get update
|
||||
apt-get install -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" --force-yes gnupg
|
||||
|
||||
apt-key add /root/repo.keys
|
||||
apt-key add -v /root/repo.keys
|
||||
rm /root/repo.keys
|
||||
|
||||
apt-get upgrade -y
|
||||
|
|
Loading…
Reference in New Issue