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

passthrough ksdevice=bootif param #62

Open
celesteking opened this issue Oct 23, 2015 · 2 comments
Open

passthrough ksdevice=bootif param #62

celesteking opened this issue Oct 23, 2015 · 2 comments

Comments

@celesteking
Copy link

Can't get why mangling is needed. User requested bootif, so let it be so.

# cobbler system dumpvars  --name xxx | grep kernel_options
kernel_options : ksdevice=bootif lang=  kssendmac text 

# koan --virt-pxe-boot --system xxx --display
              kernel  : /mirrors/centos/5/os/x86_64/images/pxeboot/vmlinuz
              initrd  : /mirrors/centos/5/os/x86_64/images/pxeboot/initrd.img
     netboot_enabled  : True
      kernel_options  : ks=xx ksdevice=link kssendmac lang= text 
    virt_disk_driver  : raw
           virt_type  : kvm
           virt_path  : fused
      virt_auto_boot  : 1
       virt_pxe_boot  : 1

This code is doing replacement which shouldn't occur:

 1461         # if using ksdevice=bootif that only works for PXE so replace
 1462         # it with something that will work
 1463         options = string.replace(options, "ksdevice=bootif","ksdevice=link")

Thanks.

@eduardok
Copy link

eduardok commented Feb 2, 2016

Are you saying that ksdevice=link didn't work for you whereas ksdevice=bootif did?

@celesteking
Copy link
Author

That's a good question. What if first interface having link won't receive dhcp offer, but second will? How is it gonna behave?

@SchoolGuy SchoolGuy transferred this issue from cobbler/cobbler May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Inbox
Development

No branches or pull requests

2 participants