4.5. Uploading the Image into Google Cloud Storage
You must log in using
gcloud auth login command before uploading the image to the Google cloud. Running the command will open a browser and prompts for google account credentials. The PROJECT_ID is set by default and follow the subsequent CLI instructions and make changes if required.
Use Google's
gsutil command to create the storage bucket and upload the image.
gsutil mb gs://rhgs_image_upload gsutil cp disk.raw.tar.gz gs://rhgs_image_upload
# gsutil mb gs://rhgs_image_upload
# gsutil cp disk.raw.tar.gz gs://rhgs_image_upload