Show Table of Contents
4.5. Uploading the Image into Google Cloud Storage
You must log in using
gcloud auth logincommand 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.
gsutilcommand 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