Comment 8 for bug 1373261

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote : Re: pserv.yaml rewrite breaks when MAAS URL uses IPv6 address

The problem is still there. Example:

My pserv.yaml contains...

  generator: http://[fdd1:caf5:2922:8b1f::1]/MAAS/api/1.0/pxeconfig/

Now, realising that this doesn't work, I run ‘dpkg-reconfigure maas-cluster-controller’ and set the MAAS URL to “http://10.9.9.1/MAAS”.

The resulting pserv.yaml now contains...

  generator: http://10.9.9.1:caf5:2922:8b1f::1]/MAAS/api/1.0/pxeconfig/

Note how the first part of the netloc, up to the first colon, is replaced with the new address — but the rest of the netloc is still there.