LP: #1710681 - Allow architecture to be deselected in the UI.
The UI was preventing architectures from being deselected because removing the architecture meant removing the commissioning series for that architecture. The user is now allowed to deselect an architecture as long as another architecture is selected.
This is a backport of 79247ae722b4abe84154a1305b9be69e6158b490
Set the no_proxy environment variable to 127.0.0.1,localhost.
When MAAS starts importing boot resources it sets the proxy environment
variables for the whole process, if an external proxy is set. No exceptions were made for 127.0.0.1 or localhost. Region refresh sends results to itself over HTTP. Because no exceptions were allowed region refresh failed.
Some applications don't properly detect that they are not being run in a
terminal and refresh output for progress bars, counters, and spinners. These
characters quickly add up making the log difficult to read. When writing output
from an application emulate a terminal so readable data is captured.