Hi,
I am trying to automate creation of ubuntu virtual machines. I have a script that creates an ubuntu virtual machine image for ESXi. I am trying to figure out how to upload it to the ESXi server. The disk image is created sparse, "with a hole". That is the file size is 4G but it only takes up 500M on disk.
I tried to upload it with scp but then it's not sparse anymore, it takes up the full 4G at destination
I tried to tar it using the --sparse option. The tar archive is created correctly, only takes up 500M, but the tar on the esxi server can not untar it. Is there a GNU tar for esxi?
I can not fugure out how to use the linux standalone converter to upload the image, are there any samples? I created a job.xml file and tried to us it for the converrsion, but I got the error message: Aborted :-/
Any ideas?
Thank you.