Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'initramfs-args is deprecated' warning message #1377

Closed
jcapiitao opened this issue Sep 29, 2023 · 2 comments · Fixed by #1376
Closed

'initramfs-args is deprecated' warning message #1377

jcapiitao opened this issue Sep 29, 2023 · 2 comments · Fixed by #1376

Comments

@jcapiitao
Copy link

While building OKD/SCOS variant image I spotted the warning message below in cosa fetch output:
warning: initramfs-args is deprecated, use /etc/dracut.conf.d

IIUC, it's due to the declarative config below

os/common.yaml

Lines 38 to 59 in b86ac33

initramfs-args:
- "--no-hostonly"
- "--omit-drivers"
- "nouveau"
- "--omit"
# we don't need root-on-NFS
# see upstream: https://github.com/coreos/fedora-coreos-config/pull/60
- "nfs"
- "--add"
- "iscsi"
- "ignition"
- "--add"
- "ifcfg"
- "--add"
- "fips"
# The current default in RHEL8 is network-legacy
## XXX: This does not work for now: https://github.com/dracutdevs/dracut/issues/798
## XXX: Temporarily use overlay.d/05rhcos/usr/lib/dracut/modules.d/29rhcos-need-network-manager/module-setup.sh
#- "--add"
#- "network-manager"
- "--omit"
- "network-legacy"

FCOS moved the config files to /etc/dracut.conf.d dir last year with cgwalters/fedora-coreos-config@1a29ef8

Maybe we should try to move as well, I might give a try

@jlebon
Copy link
Member

jlebon commented Sep 29, 2023

It just so happened that I recently opened a PR to do exactly this: #1376 :)

@jcapiitao
Copy link
Author

Thank you @jlebon 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants