Change repository per node or site or subnet in MAAS

Hi, I want to change apt repositories in different stage of maas deployment (enlist, commisionning or deployment). I cannot use the default seetings in MAAS (webUI) because it’s global parameter for all installation. So i try to use the preseeds file (/etc/mass/preseeds), but it’s not work for commissionning or enlisting ? How can i do that ?



I need the exact same thing as our MaaS is firewalled from the outside world and I’ve implemented an internal apt repo.

So far all of my attempts at using maas DNS to re-point repo requests to the internal repo fail and I don’t have an option to edit the /etc/hosts file of the other boot stages.