quick-provision: Ensure no concurrent quick provisioning.
Ensure that there is no concurrent quick provisioning through the use
of a lock file. Similarly, if a quick provision has successfully
completed on the device, do not make a second attempt and instead wait
for it to reboot.
This logic will need to be revisited if quick provisioning becomes the
only form of provisioning without fallback to the legacy path.
TEST=loadtest.py -t 1 -s 0; ssh dut /tmp/quick-provision
Commit-Ready: David Riley <firstname.lastname@example.org>
Tested-by: David Riley <email@example.com>
Reviewed-by: Mike Frysinger <firstname.lastname@example.org>
1 file changed