diff --git a/Boot-HermitCore-from-a-raw-image.md b/Boot-HermitCore-from-a-raw-image.md index 8f65ba8..e113beb 100644 --- a/Boot-HermitCore-from-a-raw-image.md +++ b/Boot-HermitCore-from-a-raw-image.md @@ -103,4 +103,9 @@ Create from this tar file an image, which we want to use as boot disk for the vi gcloud compute --project "[PROJECT_ID]" images create "[IMAGE_NAME]" --description "Image Description" --source-uri "https://storage.googleapis.com/[BUCKET_NAME]/disk.tar.gz" ``` -Please, replace `[BUCKET_NAME]`, `[PROJECT_ID]` and `[IMAGE_NAME]` with an appropriate names. \ No newline at end of file +Please, replace `[BUCKET_NAME]`, `[PROJECT_ID]` and `[IMAGE_NAME]` with an appropriate names. +Finally, we have to create a VM and to boot from this disk. + +```bash +gcloud compute --project "[PROJECT_ID]" instances create "[VM_NAME]" --zone "us-central1-c" --machine-type "f1-micro" --subnet "default" --maintenance-policy "MIGRATE" --service-account "966551718477-compute@developer.gserviceaccount.com" --scopes "https://www.googleapis.com/auth/devstorage.read_only","https://www.googleapis.com/auth/logging.write","https://www.googleapis.com/auth/monitoring.write","https://www.googleapis.com/auth/servicecontrol","https://www.googleapis.com/auth/service.management.readonly","https://www.googleapis.com/auth/trace.append" --tags "http-server" --image "hermit" --image-project "[PROJECT_ID]" --boot-disk-size "10" --boot-disk-type "pd-standard" --boot-disk-device-name "[VM_NAME]" +``` \ No newline at end of file