Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Create Custom OS images from ISO

Hello! I'm trying to create a Custom OS bootable image for my GCP VM; I have an ISO image that I extract and convert to .tar.gz as requested by GCP. I upload this tar file onto Cloud Storage and then try to create an image off of it, but I get the following error:

 

 

$ gcloud compute images create ivoz --project=root-grammar-414115 --source-uri=https://storage.googleapis.com/voip-2990/ivoz.tar.gz
ERROR: (gcloud.compute.images.create) Could not fetch resource:
 - The file inside the tar archive was named ''README.html''. It should be named ''disk.raw''.

 

 

 Not sure what I'm doing wrong. Maybe I need to rename the ISO file as disk.raw and then tar.gz it?

GCP instructions are not very clear on this topic, so any help/pointers would be greatly appreciated!

 

 

 

1 1 1,744