-
Notifications
You must be signed in to change notification settings - Fork 484
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
Adding net.ifnames=0
to image-factory extra kernel arguments is not being respected
#8008
Comments
This is expected, since these only gets added for |
So kernel args are useless for install image? If I'm booting from an iso image downloaded from the image-factory with the kernel args, then do installation without specifying |
I believe it should preserve |
This makes it even weirder if the kernel arguments in the downloaded ISO is permanent and can't be removed/changed. |
For what it's worth, these are the only ones that gets preserved:
For a -> installer never will have any kernel arguments, if you'd need extra that needs to be part of machine config For b -> Starting with Talos 1.6 we support removing kernel args with |
thanks! this is clear now. I'll close this issue. |
The fact that installer ignores extra args is documented here: https://www.talos.dev/v1.5/learn-more/image-factory/#restrictions Image Factory still accepts a schematic with extra args for an installer, so that you can use same schematic say for ISO and installer, this way ISO captures initial boot args, and installer later on doesn't touch it. (So that there's no need to create a separate schematic for an installer). To add some more confusion to the issue, SecureBoot installer actually accepts extra args, as they are part of the signed payload of the boot asset, and |
@smira thanks for the explaination.This is indeed really confusing. 😅 |
Bug Report
I tried a fresh install in a VM with only
net.ifnames=0
extra kernel command-line args using image-factory and it gives mefactory.talos.dev/installer/6905bc709e5947573a4ec2d11723b58882936d3d0e15c708f7d78f0c689684a5:v1.5.5
installer URL.I put that into machine config and do
talosctl apply-config --insecure
into the machine, did atalosctl bootstrap
and thentalosctl get addresses
after it finishes. The result showsenx56e63648f898
as the interface name instead ofeth0
.I'm not sure if this only happens for
net.ifnames=0
or all kernel arguments.The text was updated successfully, but these errors were encountered: