mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-19 17:02:15 +00:00
d7f579440d
%post writes /etc/xcat/xcatroot.env and %preun removes it, so the file is absent on rpm --justdb, before %post runs, and after an interrupted install. Both subtests of xcatd_relocated_startup.t have the file present, so neither reads what happens without it. Add a subtest that removes the file: each EnvironmentFile of the unit carries a leading -, which makes a missing file not an error, XCATROOT is the default of the unit, and the daemon starts with that default instead of the installed prefix. Dropping the default XCATROOT from the unit fails checks 4 and 7 of that subtest. Record the trade the file contexts make for a rootimg component in the middle of an image root: the guest labels are kept, which leaves the published kernel of that one layout unlabeled, so httpd cannot serve it and that osimage cannot netboot. The note names the recovery. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
Welcome to the xCAT documentation
The xCAT docs are hosted here: https://xcat-docs.readthedocs.io/ and are written in reStructuredText (.rst).
Building Docs
-
Clone this project
-
Install dependencies (See: https://pip.readthedocs.io/)
pip install --user -r requirements.txt -
Build the Docs
cd xcat-core/docs make html -
View the documentation by pointing a browser to:
xcat-core/docs/build/html/index.html