Repository navigation
vm: install CentOS 8 boxes, and pin centos8's EPEL to the 8.5 archive - #94
Conversation
tools/vm.py installs CentOS 8 with its own anaconda. The EL8 install table gives the kickstart what differs from EL7: %packages without --nobase (EL8's installer refuses it, install.nobase = false) and AppStream as a second repo (install.repos), where httpd, php and mariadb live. Otherwise EL8 takes EL7's choices: %end, eth0 named by MAC on the installer's boot line, and the installer's 1 GiB /boot. centos8-lamp gets a [vm] table (ssh on 2222; live checks for its daemons, the row and the site). The box's EPEL and the centos8 EPEL add-on repo now read the archived EPEL 8.5 snapshot instead of live EPEL 8. Live EPEL 8 has moved to 8.10-era packages, and its fail2ban requires an EL 8.7 SELinux policy, so a real CentOS 8.5 install (which has selinux-policy-targeted) could no longer build the box. alma8 keeps live EPEL 8, which matches it. Refs #13, #92 Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Signed-off-by: Peter Permenter <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4834553a33
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Signed-off-by: Peter Permenter <[email protected]>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e8e14e192d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
The [vm].live daemons check runs as one remote shell whose command line holds the string fail2ban-server, so pgrep -f fail2ban-server always found that shell and the check passed with no fail2ban running. '[f]ail2ban-server' matches the daemon and never the check itself. centos7-lamp had the same line. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Signed-off-by: Peter Permenter <[email protected]>
…iew) The bracketed pgrep pattern still matched the check's own shell through its 'fail2ban-server is not running' message; the message now says fail2ban, so no substring of the check matches the pattern. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Signed-off-by: Peter Permenter <[email protected]>
|
Claude review: signed off on b93323d (independent, read-only, fresh context).
|
Same tree as 508e3e0 (GitHub update-branch), recommitted with a DCO sign-off. Signed-off-by: Claude <[email protected]>
Requested by Peter
Before:
tools/vm.pycouldn't install a CentOS 8 guest. Nothing could prove the centos8 → alma10 route (#92) on a real VM. The centos8-lamp box also read live EPEL 8, and a real CentOS 8.5 install can no longer build it from there.After:
vm.py build el/centos8-lampinstalls the box with CentOS 8.5's own anaconda, and the box passes every one of its checks in the VM.How:
adapters/el.toml): the kickstart's EL8 differences come from the adapter.%packagesdrops--nobase, which EL8's installer refuses (nobase = false).repo, since httpd, php and mariadb live there (repos).%end, eth0 named by MAC on the installer's boot line, and the installer's 1 GiB /boot.[vm]table: ssh on 2222, plus live checks for its daemons (httpd, php-fpm, postfix, crond, sshd, firewalld, mariadb, fail2ban), its database row and its site.nothing provides selinux-policy >= 3.14.3-108.el8_7.1 needed by fail2ban-selinux.selinux-policy-targeted.Evidence
box.tomlandadapters/el.tomlare byte-identical,vm.py'sbuild(),kickstart()andchecks()are unchanged (only vm: shelter the app on the VM tier and prove its confinement #91's shelter code came in), and the build'sks.cfgmatches this head's render.ifcfg-eth0carriesHWADDR=52:54:00:12:34:56andIPADDR=10.0.2.20.ks=boot argument should beinst.ks=;installcommand is deprecated and ignored;authconfigwill be deprecated. Anaconda honours it viaauthselect-compat, so the installed box ends up on thesssdprofile with SHA512.uefi = truefor centos8 is set for the installer, but only the BIOS build has run so far. A UEFI build comes with the EL UEFI work.wend check; client fmt, clippy, tests (40) and the release build; parity identical; clientwend check.Refs #13, #92
🤖 Generated with Claude Code