Skip to content

Commit d90da6d

Browse files
authored
Replace deprecated flavors (#520)
1 parent 89f529c commit d90da6d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Earthfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ build-yawollet-image:
108108
ARG TARGETOS
109109
ARG TARGETARCH
110110

111-
ARG MACHINE_FLAVOR=c1.2
111+
ARG MACHINE_FLAVOR=c2i.2
112112
ARG VOLUME_TYPE=storage_premium_perf6
113113

114114
ARG --required IMAGE_VISIBILITY

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export OS_SOURCE_IMAGE=<from your openstack environment>
9595
export IMAGE_VISIBILITY=<private or public>
9696
```
9797

98-
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`).
98+
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`).
9999

100100
Then validate and build the image:
101101

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

0 commit comments

Comments
 (0)