mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-12-04 08:07:04 +00:00
docs(netboot): explain standalone policy generation
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# Netboot image policy
|
||||
|
||||
`netboot-policy.sh` owns the SELinux and firewalld helpers used by the RHEL
|
||||
and Rocky postinstall profiles listed in `netboot_policy_artifacts()`.
|
||||
The profiles contain generated copies so an administrator can copy and
|
||||
customize a profile without installing a separate runtime library.
|
||||
|
||||
After editing the policy, run:
|
||||
|
||||
```sh
|
||||
build-utils/sync-netboot-policy --write
|
||||
build-utils/sync-netboot-policy --check
|
||||
```
|
||||
|
||||
Commit the canonical policy and regenerated profiles together. RPM and Debian
|
||||
builders reject stale copies when building xCAT-server.
|
||||
|
||||
Each profile still selects which helpers to call. Generation does not add
|
||||
firewalld removal to RHEL 7 or service profiles, and genimage does not apply
|
||||
this policy when an administrator supplies a different postinstall script.
|
||||
Reference in New Issue
Block a user