-
Notifications
You must be signed in to change notification settings - Fork 227
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove discovery stateroot when installing to existing root (#7283)
When installing to the existing root filesystem the host finishes install with twice the data in the /sysroot and /boot filesystems as it should have. For /sysroot this isn't much of a problem, but /boot ends up getting to ~96% utilized during upgrades with the extra kernel and initrd in there. To handle this a script and a oneshot service to run it is added to the host pointer ignition when the host is being installed to an existing root. This script undeploys the boot entry which removes the files from /boot and removes the stateroot from /sysroot. This service only runs on the first boot of the machine. Resolves https://issues.redhat.com/browse/MGMT-19106
- Loading branch information
Showing
2 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
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
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