Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ build-yawollet-image:
ARG TARGETOS
ARG TARGETARCH

ARG MACHINE_FLAVOR=c1.2
ARG MACHINE_FLAVOR=c2i.2
ARG VOLUME_TYPE=storage_premium_perf6

ARG --required IMAGE_VISIBILITY
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export OS_SOURCE_IMAGE=<from your openstack environment>
export IMAGE_VISIBILITY=<private or public>
```

Like in the step above, to be able to log in to OpenStack make sure you source your OpenStack Credentials. To specify the machine flavor and volume type the `Earthly` arguments `MACHINE_FLAVOR` and `VOLUME_TYPE` can be used (default is `MACHINE_FLAVOR=c1.2` and `VOLUME_TYPE=storage_premium_perf6`).
Like in the step above, to be able to log in to OpenStack make sure you source your OpenStack Credentials. To specify the machine flavor and volume type the `Earthly` arguments `MACHINE_FLAVOR` and `VOLUME_TYPE` can be used (default is `MACHINE_FLAVOR=c2i.2` and `VOLUME_TYPE=storage_premium_perf6`).

Then validate and build the image:

Expand All @@ -118,7 +118,7 @@ earthly --platform=linux/amd64 +build-yawollet-image \
--OS_USERNAME="$OS_USERNAME" \
--OS_REGION_NAME="$OS_REGION_NAME"
# --OS_CACERT="$OS_CACERT" # optional, should be the full CA bundle, not a file path
# --MACHINE_FLAVOR=c1.2
# --MACHINE_FLAVOR=c2i.2
# --VOLUME_TYPE=storage_premium_perf6
```

Expand Down