Skip to content

Instantly share code, notes, and snippets.

@b0noI
Last active July 3, 2018 20:46
Show Gist options
  • Select an option

  • Save b0noI/3949a959194d5018a6ff28d1aa2ceaf6 to your computer and use it in GitHub Desktop.

Select an option

Save b0noI/3949a959194d5018a6ff28d1aa2ceaf6 to your computer and use it in GitHub Desktop.
export IMAGE_NAME="my-awesome-image"
export IMAGE_FAMILY="family1"
gcloud compute images create $IMAGE_NAME \
--source-disk $INSTANCE_NAME \
--source-disk-zone $ZONE \
--family $IMAGE_FAMILY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment