File tree Expand file tree Collapse file tree 3 files changed +10
-15
lines changed Expand file tree Collapse file tree 3 files changed +10
-15
lines changed Original file line number Diff line number Diff line change @@ -127,13 +127,10 @@ ibmcloud plugin install infrastructure-service
127127ibmcloud login --sso
128128```
129129
130- Create the Ignition config in a separate terminal and copy it into the
131- container where ibmcloud is running:
130+ Grab the Butane config:
132131
133132``` bash
134- cat builder-common.bu | butane --pretty --strict > builder-common.ign
135- cat coreos-s390x-builder.bu | butane --pretty --strict --files-dir=. > coreos-s390x-builder.ign
136- podman cp coreos-s390x-builder.ign ibmcloud:/root/coreos-s390x-builder.ign
133+ curl -O https://github.com/coreos/fedora-coreos-pipeline/raw/refs/heads/main/multi-arch-builders/coreos-s390x-builder.bu
137134```
138135
139136We've occasionally seen some failures and/or capacity issues so we'll
@@ -165,7 +162,7 @@ NAME="coreos-s390x-builder-$(date +%Y%m%d)"
165162PROFILE=' bz2-8x32'
166163ibmcloud is instance-create $NAME $VPC $ZONE $PROFILE $SUBNET --output json --image-id $IMAGE \
167164 --boot-volume ' {"name": "my-boot-vol-1", "volume": {"capacity": 200, "profile": {"name": "general-purpose"}}}' \
168- --sgs $SG --user-data @coreos-s390x-builder.ign > out.json
165+ --sgs $SG --user-data @coreos-s390x-builder.bu > out.json
169166```
170167
171168
Original file line number Diff line number Diff line change 11# This butane config will do the following:
22#
3- # - Merge in the builder-common.ign Ignition file
3+ # - Merge in the builder-common.bu Butane file
44# - Allow the builder user to log in with the associated ssh key
55# - Set a hostname
66#
77variant: fcos
88version: 1.4.0
99ignition:
1010 config:
11- merge:
12- - local: builder-common.ign
11+ - source: https://github.com/coreos/fedora-coreos-pipeline/raw/refs/heads/main/multi-arch-builders/builder-common.bu
1312passwd:
1413 users:
1514 - name: builder
Original file line number Diff line number Diff line change 11# This butane config will do the following:
22#
3- # - Merge in the coreos-s390x-builder.ign Ignition file
4- # - Merge in the builder-splunk.ign Ignition file
3+ # - Merge in the coreos-s390x-builder.bu Butane file
4+ # - Merge in the builder-splunk.bu Butane file
55# - Enable the Secure Execution Host
66# - Create and initialize the secex-data volume
77# - Enable the Cex hardware based luks encryption
@@ -10,9 +10,8 @@ variant: fcos
1010version: 1.4.0
1111ignition:
1212 config:
13- merge:
14- - local: coreos-s390x-builder.ign
15- - local: builder-splunk.ign
13+ - source: https://github.com/coreos/fedora-coreos-pipeline/raw/refs/heads/main/multi-arch-builders/coreos-s390x-builder.bu
14+ - source: https://github.com/coreos/fedora-coreos-pipeline/raw/refs/heads/main/multi-arch-builders/builder-splunk.bu
1615kernel_arguments:
1716 should_exist:
1817 # enables Secure Execution Host
@@ -111,4 +110,4 @@ storage:
111110 group:
112111 name: root
113112 contents:
114- local: create-cex-device.sh
113+ source: https://github.com/coreos/fedora-coreos-pipeline/raw/refs/heads/main/multi-arch-builders/ create-cex-device.sh
You can’t perform that action at this time.
0 commit comments