Running script in L1 target to deploy image for L2 target to USB or HDD Python or bash doesn't matter. One tricky thing is need export physical USB controller to L1 target, so it can access the USB.
This is a duplicated bug of 1086. Bug 1806 has more detailed info. *** This bug has been marked as a duplicate of bug 1806 ***