forked from coreos/fedora-coreos-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move from
initramfs-args
in manifest to dracut.conf.d
files
See coreos/rpm-ostree#3799 This way when we run dracut in a container build, we naturally pick up the same config we used for server side builds.
- Loading branch information
Showing
4 changed files
with
9 additions
and
16 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
2 changes: 2 additions & 0 deletions
2
overlay.d/05core/usr/lib/dracut/dracut.conf.d/fcos-nohostonly.conf
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,2 @@ | ||
# Default rpm-ostree model is server-side generated initramfs | ||
hostonly=no |
7 changes: 7 additions & 0 deletions
7
overlay.d/05core/usr/lib/dracut/dracut.conf.d/fcos-omits.conf
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,7 @@ | ||
# We don't support root on NFS, so we don't need it in the initramfs. It also | ||
# conflicts with /var mount support in ignition because NFS tries to mount stuff | ||
# in /var/ and then ignition can't cleanly unmount it. For example: | ||
# https://github.com/dracutdevs/dracut/blob/1856ae95c873a6fe855b3dccd0144f1a96b9e71c/modules.d/95nfs/nfs-start-rpc.sh#L7 | ||
# See also discussion in https://github.com/coreos/fedora-coreos-config/pull/60 | ||
# Further, we currently do not use LVM or iSCSI | ||
omit_dracutmodules+=" nfs lvm iscsi " |