Comment 5 for bug 1384333

Revision history for this message
Nobuto Murata (nobuto) wrote :

If I understand it correctly, current MAAS marks only the PXE interface as automatic interface.

[./src/maasserver/networking_preseed.py]
def get_mac_for_automatic_interfaces(node):
    """Return the MAC addresses for `node` that should come up on boot.

    This will return the node's PXE MAC address as a normalized string.
    This is the MAC we expect the node to PXE boot from.

    :param node: A `Node`.
    :return: A normalised MAC address string.
    """
    pxe_mac = node.get_pxe_mac()
    return normalise_mac(unicode(pxe_mac.mac_address))