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 <email@example.com>
Tested-by: David Riley <firstname.lastname@example.org>
Reviewed-by: Mike Frysinger <email@example.com>
1 file changed