Comment 2 for bug 1393953

Revision history for this message
Daniel Manrique (roadmr) wrote :

Cool, so adding this method to custom.py to override the one from OperatingSystem (which blindly sends root-tgz as the filename) made it so that maas actually sent the image to the system:

    def get_xinstall_parameters(self, arch, subarch, release, label):
        """Returns the xinstall image name and type for Windows."""
        return "root-dd", "dd-tgz"

This just as blindly sends root-dd and the dd-tgz format, I'm not sure this is correct, nor did I run the test suite to ensure nothing else breaks, but it seems to be a start.

After this, the system wasn't left in a bootable state anyway :/ but it seems like another problem. I'll ask in the IRC channel and either amend this bug or file a new one (or fix things, if I'm doing them wrong)