trove/integration/scripts/files/elements/ubuntu-percona
Zhao Chao 8057b2d926 More reliable gpg keys importing in DIB elements
We're still seeing apt-key failed to import gpg keys these days during
the images building in the gate jobs, the problem is keys.gnupg.net and
keyserver.ubuntu.com are both not stable according to [1] and [2], it's
better to adopt pool.sks-keyservers.net instead and with simple retries.

To reduce code duplication, this common apt-key importing function is
also moved to ubuntu-guest as an environment snippet.

[1] https://www.gnupg.org/faq/gnupg-faq.html#new_user_default_keyserver
[2] https://sks-keyservers.net/overview-of-pools.php

Closes-Bug: #1579094

Change-Id: I0fe200d140f6f9c4d423dd498797a225e3295a71
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
2018-07-16 12:03:16 +08:00
..
install.d allow unauthenticated packages to be installed 2016-12-20 06:48:53 -05:00
pre-install.d More reliable gpg keys importing in DIB elements 2018-07-16 12:03:16 +08:00