<div dir="ltr"><div>Hello,</div><div><br></div><div>Due to some complications, I couldn't run virt-sysprep on VMDK exported from vDirector, the issue has to do with read only disk image and write protection(there is a mention of a lock being held).</div><div><br></div><div>I gave up afterwards, and I'm looking for a Bash script that does the 'prep' part after the VM is created. I don't mind doing it manually from the console, as I already have to configure networking.</div><div><br></div><div>I was looking at libugestfs source in github trying to find the steps to effectively do what virt-sysprep is doing. But it's not clear where it's.</div><div><br></div><div>regards,<br></div></div>