Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix up and explain gcloud cmds #172

Merged
merged 1 commit into from
Nov 9, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 8 additions & 5 deletions example/m-mirage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ encrypt challenge.

```sh
$ gcloud init
# Your name below must be __globally__ unique, dream-os will be taken by now
$ gcloud projects create dream-os --name="dream-os"
# Enable billing on the dream-os project
# Enable billing for project
# Go to https://cloud.google.com, log into Console, select project from
# dropdown, then click billing
$ gcloud config set project dream-os
$ gcloud compute address --region europe-west1
# Set your zone file with the given IP address
$ gcloud compute addresses create <HOSTNAME> --region europe-west1
# Set your in your DNS zone file the IP address yielded above
$ gsutil mb gs://dream-os
```

Expand All @@ -37,10 +40,10 @@ address.
```sh
$ opam install mirage
$ mirage configure -t virtio --dhcp true --hostname <HOSTNAME> --tls true \
--letsencrypt true --productive false
--letsencrypt true --production false
$ make depends
$ mirage build
$ solo5-virtio-mkimage gs://dream-os
$ solo5-virtio-mkimage -f tar -- dream.tar.gz dream.virtio
```

#### Deployement
Expand Down