Duplicating Persee Ubuntu

I need to duplicate a Persee with Ubuntu installed. I could install Ubuntu and re-install every package but that process takes hours and doesn’t scale. Anyone know how to create a .img image from a Persee that can then be installed using the AndroidTool?

I contacted Orbbec a few months ago and they gave me some instructions. See “Creating a linuxroot partition from a running Persee” of Compiling Persee kernel and flashing it on the Persee