This patch adds an async task to download the LXC image using aria2
with retries and read timeouts.
Closes-Bug: 1709329
Change-Id: Ib9ec6195dcb7e0e4b18b8526f030e6738f9953e8
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
iteritems is a py2 callable and will break when using py3.
Change-Id: I2afbcf273d23a326b81e51620929a512ed17fc22
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
The machined pull does not utilize the lxc_cache_environment
variable to configure its environment, so it will not use proxies.
This fixes machined to properly configure its environment so pulls
can operate through proxies.
Based on https://wbl.krm.io/howto-proxify-systemd-machined/
Change-Id: I17c452a8ba67561435737ee9d672219a2e306489