-
Notifications
You must be signed in to change notification settings - Fork 98
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
Fixing the interface names across OS flavors #177
Conversation
added net.ifnames=1 to kernel params. Signed-off-by: vipsharm <sharma.vipin@gmail.com>
✅ Deploy Preview for kairos-io canceled.
|
set kernelcmd="console=tty1 root=live:CDLABEL=$recoverylabel rd.live.dir=/ rd.live.squashimg=$img panic=5" | ||
else | ||
# Boot arguments when the image is used as active/passive | ||
set kernelcmd="console=tty1 root=LABEL=$label net.ifnames=1 iso-scan/filename=$img panic=5 security=selinux rd.cos.oemlabel=COS_OEM selinux=1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
were these se linux args already there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied the default elemental bootargs.cfg from documentation and added net.ifnames=1
Default values copied from here
https://rancher.github.io/elemental-toolkit/docs/customizing/configure_grub/
Signed-off-by: vipsharm <sharma.vipin@gmail.com>
Use cos initrd module by default
added net.ifnames=1 to kernel params.
Signed-off-by: vipsharm sharma.vipin@gmail.com