I just tested this with MAAS. I added a device with the MAC address of one of machines that normally PXE boots from MAAS. I then powered it on, it PXE booted from MAAS then loaded the pxelinux.0 and MAAS told it to boot from its local disk.
Adding the ability to change this behavior would be a good improvement. Possible options could be: * Ignore * Boot local * Poweroff I filed a bug about this here: https://bugs.launchpad.net/maas/+bug/1686412 On Wed, Apr 26, 2017 at 9:09 AM, Mark Shuttleworth <[email protected]> wrote: > > Seems to me that it would make sense to be able to add the node as a > device, in which case MAAS should avoid PXE responses altogether. > Alternatively, add the ability to tell MAAS that this node should always > just boot from its disk if it PXEs. > > Mark > > > On 25/04/17 14:08, Mike Pontillo wrote: > > Hi Eswar, > > If the node is deployed by MAAS and PXE boots, it will be sent a PXE > configuration that instructs it to boot from the local disk. If the PXE > server is unavailable and the BIOS falls back to booting from the local > drive, that should work, too. So you should be safe either way. > > If the node is NOT managed by MAAS but running on an > otherwise-MAAS-managed subnet, I would consider setting its BIOS to NOT > boot from the network. If you can't do that, I would consider adding an > iptables rule that would match the machine's MAC address and filter PXE > requests. > > Regards, > Mike > > On Tue, Apr 25, 2017 at 10:14 AM, ESWAR RAO <[email protected]> wrote: > >> Hi All, >> >> Please let me know how can we disable a compute node (mac address) from >> PXE booting by MAAS. >> MAAS should ignore a boot request from specific mac addresses. >> >> I don't think this can be done by using MAAS CLI: >> https://docs.ubuntu.com/maas/1.9/en/maascli >> >> >> Please suggest me how can i achieve this : >> >> (1) disable the mac in dhcp conf of maas ?? >> (2) any filters like below ?? >> https://github.com/opencord/maas/blob/7b1f18c47329d08fb84d8a >> 704d60a493b2b360be/automation/README.md >> >> Thanks >> Eswar Rao >> >> >> -- >> Maas-devel mailing list >> [email protected] >> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailm >> an/listinfo/maas-devel >> >> > > > > > -- > Maas-devel mailing list > [email protected] > Modify settings or unsubscribe at: https://lists.ubuntu.com/ > mailman/listinfo/maas-devel > >
-- Maas-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/maas-devel
