-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the builder config for the s390x RHCOS builder. Add ignition files for both so that they can be fetched during installation. Signed-off-by: Jan Schintag <[email protected]>
- Loading branch information
Showing
4 changed files
with
225 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# This butane config will do the following: | ||
# | ||
# - Merge in the builder-common.ign Ignition file | ||
# - Allow the builder user to log in with the associated ssh key | ||
# - Set a hostname | ||
# | ||
variant: fcos | ||
version: 1.4.0 | ||
ignition: | ||
config: | ||
merge: | ||
- source: https://raw.githubusercontent.com/coreos/fedora-coreos-pipeline/main/multi-arch-builders/ignition-files/builder-common.ign | ||
passwd: | ||
users: | ||
- name: builder | ||
ssh_authorized_keys: | ||
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBYuN4Crt4kwszp25BPpNGc8xPiVyXwXAGILQmBOOvCq builder@fcos-pipeline-s390x | ||
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEA9fEPuFwffqoqOFa9R0mIbUCaeHB03ql/QcTQ5Bqlx builder@rhcos-pipeline-s390x | ||
- name: core | ||
ssh_authorized_keys: | ||
- ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAgEAkNiuIximCsbukdOoG99V8dZB3FexJC6CHLuuRUT3xYYXqtcKQXcvb7Nj02zHOiHk34mFpAKNKISFV2pM9qd3TE1Iv7iFkfZanYf4USzHhb5Lm7ZU16H7RyPiCF/YkZ7obmIRb6MOqClGwPTqtYQtOuMR8d35/fJcOijXun1Mt07QG2AHrRVt3Z1gtyxaFz5hln9UUW1Wqby9FKANw3OIZ1xwn/qEZr5dKxGea0mE2PVC5hEerzrC5xIGO00zivKvwtyKnKB5dFCLtvQrPhaYAHKHJBTpMmzjQWgs4MdD6JwFrUSICuiiaVLd8bMGjJgSKsM0t3CJS7J2v9l0ZO0yRd1UdTau6JEbYOjMdE5MRutBUfCLhxkFIfOEQgLf0lE1UxU2XsJQ/zdnMXtExwhSMKfYlOyw1PgP7j8tUuEElY9Pr1pDEm0th4SAwq3+hnFGyP00gddhHY9qYUHi+lwj82lvjPQccSBso+nuJ8L2485e8WUultAUAYQ2MGscPYihkSJXxs0O17k7aLVzz+E8e1UgSuUAcQlrdxson6+P/O9qFnLAKQ+fYJHfoET+RVht4f94lbhr15M9IJGHZGQexwqshuABhsE2DKtT1/nizsl+85CpF1Esj3w1mEGhuDEiuCmC7wI0i12+YMuuYMdGcM75mhWFD0QjIjwcQjmmZyk= [email protected] | ||
kernel_arguments: | ||
should_exist: | ||
# enables Secure Execution Host | ||
- prot_virt=1 | ||
storage: | ||
files: | ||
- path: /etc/hostname | ||
mode: 0644 | ||
overwrite: true | ||
contents: | ||
inline: rdu-z15-l21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,146 @@ | ||
{ | ||
"ignition": { | ||
"version": "3.3.0" | ||
}, | ||
"kernelArguments": { | ||
"shouldExist": [ | ||
"mitigations=off" | ||
], | ||
"shouldNotExist": [ | ||
"mitigations=auto,nosmt" | ||
] | ||
}, | ||
"passwd": { | ||
"users": [ | ||
{ | ||
"name": "core", | ||
"sshAuthorizedKeys": [ | ||
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD2v0AVNJauAmerBvsbz/y2/lyTqkE0s71ZPd2MNRhYRlx7nn5fhIh7OptqUSbHUQXm+K2pBHWz5/cILGpcdWOpG97AwAsFvJP3EJqAMRLstLPuziBckkc6QV5ZSwfTW3fabKcU4gaF51LFQlDo/Fi2QfQ1O2lOCQDKWlHR5metN7iVdY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7BwSec63Z9+EwQL1wh8/+hpjHaxoBXhqdRns1XFe4xOhowoVRpyYzU0Cz+k6ZXzownUp68aziytibPMw5vsRcyCm12I+t9AI5wuG4Vl34l308Ufzh6YWd/TX9Kw3pC+Fe7RE+XvTwixVNPEJi6U8WgamtRTN62lP369lnimzpIRpum8UiLco/bjbHD7TnygLFb6hSI1tQ== [email protected]", | ||
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDgBv89yZuWD1AfOi+3CGI7FWawpwYQVrxLCjfxPnP7KjEGGAHGsorce5XGNu1W57ND8HrdLyQf4SLfHAwVyRvRfIf8NzakUuxR4khHCpxE+F8ByTyg23Y17DkfBM/RCXcdMU1vvDkfCdsVMOY8KKhLL412560KfxQhQBKsCmssMZQ4Ii5b18cJfbwk+JnNC0fRiV/h2qrOsRQ7XvJynHHxMfqfih3BLnVo83FSf3G7T9LwpS7BQK4BsO14ahztMXxkU7j+ZdRd3+gUK3L9E0Y/fdtrMXgnG6OphkFEGTY7hlpV9Ppr7t5mDDl6LPMDWpWaZ0xz61IqKbrjXVPv63xF [email protected]" | ||
] | ||
} | ||
] | ||
}, | ||
"storage": { | ||
"directories": [ | ||
{ | ||
"group": { | ||
"name": "builder" | ||
}, | ||
"path": "/home/builder/.config", | ||
"user": { | ||
"name": "builder" | ||
} | ||
}, | ||
{ | ||
"group": { | ||
"name": "builder" | ||
}, | ||
"path": "/home/builder/.config/systemd", | ||
"user": { | ||
"name": "builder" | ||
} | ||
}, | ||
{ | ||
"group": { | ||
"name": "builder" | ||
}, | ||
"path": "/home/builder/.config/systemd/user", | ||
"user": { | ||
"name": "builder" | ||
} | ||
}, | ||
{ | ||
"group": { | ||
"name": "builder" | ||
}, | ||
"path": "/home/builder/.config/systemd/user/timers.target.wants", | ||
"user": { | ||
"name": "builder" | ||
} | ||
}, | ||
{ | ||
"group": { | ||
"name": "builder" | ||
}, | ||
"path": "/home/builder/.config/systemd/user/sockets.target.wants", | ||
"user": { | ||
"name": "builder" | ||
} | ||
} | ||
], | ||
"files": [ | ||
{ | ||
"path": "/etc/systemd/zram-generator.conf", | ||
"contents": { | ||
"compression": "", | ||
"source": "data:;base64,IyBUaGlzIGNvbmZpZyBmaWxlIGVuYWJsZXMgYSAvZGV2L3pyYW0wIGRldmljZSB3aXRoIHRoZSBkZWZhdWx0IHNldHRpbmdzClt6cmFtMF0K" | ||
}, | ||
"mode": 420 | ||
}, | ||
{ | ||
"path": "/etc/zincati/config.d/51-updates-early-monday-morning.toml", | ||
"contents": { | ||
"compression": "", | ||
"source": "data:;base64,W3VwZGF0ZXNdCnN0cmF0ZWd5ID0gInBlcmlvZGljIgpbW3VwZGF0ZXMucGVyaW9kaWMud2luZG93XV0KZGF5cyA9IFsgIk1vbiIgXQpzdGFydF90aW1lID0gIjA3OjAwIgpsZW5ndGhfbWludXRlcyA9IDYwCg==" | ||
} | ||
}, | ||
{ | ||
"path": "/var/lib/systemd/linger/builder", | ||
"mode": 420 | ||
}, | ||
{ | ||
"group": { | ||
"name": "builder" | ||
}, | ||
"path": "/home/builder/.config/systemd/user/prune-container-resources.service", | ||
"user": { | ||
"name": "builder" | ||
}, | ||
"contents": { | ||
"compression": "gzip", | ||
"source": "data:;base64,H4sIAAAAAAAC/4SOsY6DMBBEe3/F/gDdFde4OuhPIakQhWU2sJLZtdZrRP4+SqSkSAqqad7MvOHCZKNrsUSlbCTs/7UyQht4TsQzBJ6g2zMpTvAnbIEYFU5YpGrE4oYedaOIozvfMnphLIuY63aMvQU1n2VaAwOtYUbIz/GmuYpGPIJCSi/0kZQMFSobJf/zu3y341vv4GaTVNdPmXsAAAD//+IxfhcLAQAA" | ||
}, | ||
"mode": 420 | ||
}, | ||
{ | ||
"group": { | ||
"name": "builder" | ||
}, | ||
"path": "/home/builder/.config/systemd/user/prune-container-resources.timer", | ||
"user": { | ||
"name": "builder" | ||
}, | ||
"contents": { | ||
"compression": "", | ||
"source": "data:,%5BTimer%5D%0AOnCalendar%3D*-*-*%2005%3A00%3A00%20UTC%0AAccuracySec%3D30m%0APersistent%3Dtrue%0A%5BInstall%5D%0AWantedBy%3Dtimers.target%0A" | ||
}, | ||
"mode": 420 | ||
} | ||
], | ||
"links": [ | ||
{ | ||
"group": { | ||
"name": "builder" | ||
}, | ||
"path": "/home/builder/.config/systemd/user/timers.target.wants/prune-container-resources.timer", | ||
"user": { | ||
"name": "builder" | ||
}, | ||
"target": "/home/builder/.config/systemd/user/prune-container-resources.timer" | ||
}, | ||
{ | ||
"group": { | ||
"name": "builder" | ||
}, | ||
"path": "/home/builder/.config/systemd/user/sockets.target.wants/podman.socket", | ||
"user": { | ||
"name": "builder" | ||
}, | ||
"target": "/usr/lib/systemd/user/podman.socket" | ||
} | ||
] | ||
} | ||
} |
47 changes: 47 additions & 0 deletions
47
multi-arch-builders/ignition-files/coreos-s390x-builder.ign
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"ignition": { | ||
"config": { | ||
"merge": [ | ||
{ | ||
"source": "https://raw.githubusercontent.com/coreos/fedora-coreos-pipeline/main/multi-arch-builders/ignition-files/builder-common.ign" | ||
} | ||
] | ||
}, | ||
"version": "3.3.0" | ||
}, | ||
"kernelArguments": { | ||
"shouldExist": [ | ||
"prot_virt=1" | ||
] | ||
}, | ||
"passwd": { | ||
"users": [ | ||
{ | ||
"name": "builder", | ||
"sshAuthorizedKeys": [ | ||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBYuN4Crt4kwszp25BPpNGc8xPiVyXwXAGILQmBOOvCq builder@fcos-pipeline-s390x", | ||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEA9fEPuFwffqoqOFa9R0mIbUCaeHB03ql/QcTQ5Bqlx builder@rhcos-pipeline-s390x" | ||
] | ||
}, | ||
{ | ||
"name": "core", | ||
"sshAuthorizedKeys": [ | ||
"ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAgEAkNiuIximCsbukdOoG99V8dZB3FexJC6CHLuuRUT3xYYXqtcKQXcvb7Nj02zHOiHk34mFpAKNKISFV2pM9qd3TE1Iv7iFkfZanYf4USzHhb5Lm7ZU16H7RyPiCF/YkZ7obmIRb6MOqClGwPTqtYQtOuMR8d35/fJcOijXun1Mt07QG2AHrRVt3Z1gtyxaFz5hln9UUW1Wqby9FKANw3OIZ1xwn/qEZr5dKxGea0mE2PVC5hEerzrC5xIGO00zivKvwtyKnKB5dFCLtvQrPhaYAHKHJBTpMmzjQWgs4MdD6JwFrUSICuiiaVLd8bMGjJgSKsM0t3CJS7J2v9l0ZO0yRd1UdTau6JEbYOjMdE5MRutBUfCLhxkFIfOEQgLf0lE1UxU2XsJQ/zdnMXtExwhSMKfYlOyw1PgP7j8tUuEElY9Pr1pDEm0th4SAwq3+hnFGyP00gddhHY9qYUHi+lwj82lvjPQccSBso+nuJ8L2485e8WUultAUAYQ2MGscPYihkSJXxs0O17k7aLVzz+E8e1UgSuUAcQlrdxson6+P/O9qFnLAKQ+fYJHfoET+RVht4f94lbhr15M9IJGHZGQexwqshuABhsE2DKtT1/nizsl+85CpF1Esj3w1mEGhuDEiuCmC7wI0i12+YMuuYMdGcM75mhWFD0QjIjwcQjmmZyk= [email protected]" | ||
] | ||
} | ||
] | ||
}, | ||
"storage": { | ||
"files": [ | ||
{ | ||
"overwrite": true, | ||
"path": "/etc/hostname", | ||
"contents": { | ||
"compression": "", | ||
"source": "data:,rdu-z15-l21" | ||
}, | ||
"mode": 420 | ||
} | ||
] | ||
} | ||
} |