Avoid keyserver for Cloud Archive repo setup.
swift-proxy was still attempting to pull Ubuntu Cloud Archive's key from the Ubuntu keyserver. Instead, use the ubuntu-cloud-keyring package from the archive.
This commit is contained in:
parent
287a8122ca
commit
4f5fada2fb
|
@ -205,7 +205,8 @@ def configure_installation_source(rel):
|
||||||
error_out(e)
|
error_out(e)
|
||||||
|
|
||||||
src = "deb %s %s main" % (CLOUD_ARCHIVE_URL, pocket)
|
src = "deb %s %s main" % (CLOUD_ARCHIVE_URL, pocket)
|
||||||
_import_key(CLOUD_ARCHIVE_KEY_ID)
|
cmd = ['apt-get', '-y', 'install', 'ubuntu-cloud-keyring']
|
||||||
|
subprocess.check_call(cmd)
|
||||||
|
|
||||||
with open('/etc/apt/sources.list.d/cloud-archive.list', 'w') as f:
|
with open('/etc/apt/sources.list.d/cloud-archive.list', 'w') as f:
|
||||||
f.write(src)
|
f.write(src)
|
||||||
|
|
Loading…
Reference in New Issue