Comment 11 for bug 1772010

1. check what use_peer_proxy
ubuntu@autopkgtest:~$ maas admin maas get-config name=use_peer_proxy
Success.
Machine-readable output follows:
false

2. set maas_proxy_port
ubuntu@autopkgtest:~$ maas admin maas set-config name=maas_proxy_port value=8081
Success.
Machine-readable output follows:
OK

3. check it is set correctly
ubuntu@autopkgtest:~$ maas admin maas get-config name=maas_proxy_port
Success.
Machine-readable output follows:
8081

4. Went to the UI to "Use peer proxy".

5. Check the new value
ubuntu@autopkgtest:~$ maas admin maas get-config name=use_peer_proxy
Success.
Machine-readable output follows:
true

6. Ensure maas_proxy_port is unchanged
ubuntu@autopkgtest:~$ maas admin maas get-config name=maas_proxy_port
Success.
Machine-readable output follows:
8081

So I can confirm LP: #1787381 has now been resolved with what's in -proposed.