Commit Graph

3 Commits

Author SHA1 Message Date
Major Hayden
de1b45553e Download LXC image with async via aria2
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>
2017-08-15 12:34:26 +00:00
Kevin Carter
0e6bcf2a1b
remove the use of iteritems
iteritems is a py2 callable and will break when using py3.

Change-Id: I2afbcf273d23a326b81e51620929a512ed17fc22
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2017-08-02 15:06:50 -05:00
Logan V
89625e66b0 Configure proxy settings for machined
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
2017-04-22 00:57:27 +00:00