> MAAS also requires some grub net booting files, which aren’t included in the content apt-mirror typically mirrors. These can be included by adding this line (as one line) to /var/spool/apt-mirror/var/postmirror.sh:
>
> wget -nH --cut-dirs 4 -r --no-parent -P /var/spool/apt-mirror/mirror/tw.archive.ubuntu.com/ubuntu/dists/trusty-updates/main/ http://tw.archive.ubuntu.com/ubuntu/dists/trusty/main/uefi/grub2-amd64/
The mirror issue isn't really a MAAS bug per se, but this needs to be documented whenever a mirror to be used for MAAS is documented -- or maybe apt-mirror should be updated. (Should a bug be filed against apt-mirror?) As Jeff says, better error logging would be extremely helpful.
FWIW, the writeup to which Jeff refers is:
https:/ /docs.google. com/a/canonical .com/document/ d/1jrBA4KeKb2oT jM3eHQJx0bxHe9L nMGheYWOiJjxzWA I/edit#
The key is this:
> MAAS also requires some grub net booting files, which aren’t included in the content apt-mirror typically mirrors. These can be included by adding this line (as one line) to /var/spool/ apt-mirror/ var/postmirror. sh: apt-mirror/ mirror/ tw.archive. ubuntu. com/ubuntu/ dists/trusty- updates/ main/ http:// tw.archive. ubuntu. com/ubuntu/ dists/trusty/ main/uefi/ grub2-amd64/
>
> wget -nH --cut-dirs 4 -r --no-parent -P /var/spool/
The mirror issue isn't really a MAAS bug per se, but this needs to be documented whenever a mirror to be used for MAAS is documented -- or maybe apt-mirror should be updated. (Should a bug be filed against apt-mirror?) As Jeff says, better error logging would be extremely helpful.