Not a bug. I failed to understand the 'as documented' --config feature
provided for the bootstrap command. All it took was to define a yaml
file(bootstrap-config.yml for instance) with the following info:

http-proxy: http://<company-proxy>:<port>
https-proxy: http://<company-proxy>:<port>
no-proxy: localhost,10.0.4.1

Then:

juju bootstrap --upload-tools --config bootstrap-config.yml lxd-test lxd
--debug

shortly thereafter:

[10:19:04] $ lxc list
+-----------------------------------------------------+---------+------------------+-----------------------------------------------+------------+-----------+
|                        NAME                         |  STATE  |       IPV4    
   |                     IPV6                      |    TYPE    | SNAPSHOTS |
+-----------------------------------------------------+---------+------------------+-----------------------------------------------+------------+-----------+
| juju-8f566abe-e496-4149-8077-98988ec968b9-machine-0 | RUNNING | 10.0.4.87 
(eth0) | fdc5:f4e9:8a1f:d0c1:216:3eff:fe0e:efb8 (eth0) | PERSISTENT | 0         
|
+-----------------------------------------------------+---------+------------------+-----------------------------------------------+------------+-----------+


** Changed in: juju-core (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1577079

Title:
  juju bootstrap fails to download packages from behind proxy

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-core/+bug/1577079/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to