1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

Updated Boot HermitCore from a raw image (markdown)

Stefan Lankes 2017-06-08 07:11:34 +02:00
parent 48c3b6af6f
commit d18dd9fd9e

@ -91,13 +91,13 @@ Now, you have to pack the image with `tar -cSzf disk.tar.gz disk.raw` to a tar f
gsutil mb gs://[BUCKET_NAME]/
```
Please, replace `[BUCKET_NAME]` with an appropriate name. Upload the tar file to the cloud storage.
Please, replace `[BUCKET_NAME]` with an appropriate name and upload the tar file to the cloud storage.
```bash
gsutil cp disk.tar.gz gs://[BUCKET_NAME]/
```
Create from this tar file an image, which we want to use as boot disk for the virtual machine.
Create from this file an image, which we want to use as boot disk for the virtual machine.
```bash
gcloud compute --project "[PROJECT_ID]" images create "[IMAGE_NAME]" --description "Image Description" --source-uri "https://storage.googleapis.com/[BUCKET_NAME]/disk.tar.gz"