<allenap> brendand: I think it's because systemd-detect-virt is the last command executed in the script, and "systemd-detect-virt exits with a return value of 0 (success) if a virtualization technology.
This makes sense as it would cause the commissioning script to fail
Since MAAS trunk revision 5105, nodes in the CI lab are failing to commision. This coincided with the landing of https:/ /code.launchpad .net/~ltrager/ maas/virt_ detect/ +merge/ 297020
From IRC:
<allenap> brendand: I think it's because systemd-detect-virt is the last command executed in the script, and "systemd- detect- virt exits with a return value of 0 (success) if a virtualization technology.
This makes sense as it would cause the commissioning script to fail