Add ESXi to MAAS
vJailbreak uses MAAS to manage the ESXi hosts and boot them into PCD hypervisor. MAAS has a state machine for each machine that it manages. The machines by default are assumed to be ‘empty’ and available for deployment. The machines are managed by MAAS by booting them with ephemeral image to discover the hardware.
To enlist an ESXi host into MAAS, you will need to add it to MAAS without MAAS rebooting it inadvertently. The process in detail is described [here].
This requires you to have a MAAS cli. The MAAS cli can be used to add any machine in the ‘deployed’ state.
$ maas $profile machines create deployed=true hostname=mymachine \architecture=amd64 mac_addresses=00:16:3e:df:35:bb power_type=manual