base : Updating the guest operating system - Failed to update apt cache: unknown reason #213
-
Is it possible to configure a http proxy for apt (Ubuntu) before the Ansible task base - Updating the guest operating system is executed?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Configure the You could modify the project to inject the proxy as a variable (or hard code the setting). Ryan Johnson |
Beta Was this translation helpful? Give feedback.
Configure the
proxy
option inuser-data.pkrtpl.hcl
file for Ubuntu. Refer to https://ubuntu.com/server/docs/install/autoinstall-reference.You could modify the project to inject the proxy as a variable (or hard code the setting).
Ryan Johnson
Staff II Solutions Architect | VMware, Inc.