Stay organized with collections
Save and categorize content based on your preferences.
NAME
gdcloud compute images import - Import a virtual machine image.
SYNOPSIS
gdcloud compute images import IMAGE_NAME [flags]
EXAMPLES
To import an Ubuntu 20.04 image, run:
gdcloud compute images import byo-ubuntu-2004 \
--project example-project \
--source-file=./ubuntu-image.img \
--os=ubuntu-2004
OPTIONAL FLAGS
-h, --help help for import
--os string The OS of the disk image being imported. OS must be one of: "ubuntu-2004", "rhel-8", "windows-2019".
--project string Project ID where the image is to be imported.
--source-file string A local disk image file to import.
--timeout string Maximum time an import can last before it fails as timeout. Default value is "1h". Max value is "24h". (default "1h")
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-14 UTC."],[],[]]