Hi everyone,
I know that it is not needed to assign TemplateVM a network connection as it can update without it. I wonder what to do in case of adding a GPG key of a package or installing packages via snapstore? Is there any spesific way to handle this?
Thanks
Quoting @unman from another thread:
Wget in a template?
Remember that there is a proxy in templates, which you use to perform
updates.
You can have wget use that same proxy by creating a file, ~/.wgetrc:
use_proxy = on
http_proxy = 127.0.0.1:8082
https_proxy = 127.0.0.1:8082
Then your wget commands will work fine.
You can use that proxy to get all sorts of stuff in to a template
including PGP keys.
These are installed in AppVMs according to the docs Redirecting… .
Thanks so much for quick help.
1 Like
unman
May 31, 2021, 2:09pm
4
That should be :
use_proxy = on
You can use the proxy for searching and installing PGP keys too.
GitHub - unman/notes has a note on gpg_in_templates with
examples.
Fixed both the original and that quote for you here on the forum.