Ahh, if it is d-i doing it directly, so be it.  The reason it should be
separated out into a .d entry is basically, splitting out into .d
entries are generally more manageable than using a main config file,
especially if you want to undo this functionality change.  (Remove the
.d file rather than grepping through apt.conf trying to remove that line
without blowing away other potential functionality in there.)

In our specific case, we don't want the running node to be using MAAS's
local squid-deb-proxy setup, due to needing to add non-standard apt
sources as part of a deployed Juju charm, and having a "local" archive
mirror anyway.  Ideally it would be best to have an option to not use a
proxy server in MAAS (and there are bugs open asking for this), but
failing that, I've added code to our charm to disable the apt proxy as
one of the first steps of the charm, before the other apt sources are
added.  That is how I found the conf option is being put directly in
/etc/apt/apt.conf, rather than an apt.conf.d file.

** Changed in: maas (Ubuntu)
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1060900

Title:
  HTTP proxy config being created in /etc/apt/apt.conf on nodes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1060900/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to