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
Allow to select no driver (auto) #958
Allow to select no driver (auto) #958
Conversation
src/lib/y2network/driver.rb
Outdated
@@ -70,6 +70,7 @@ def initialize(name, params = "") | |||
# @param other [Driver] Driver to compare with |
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.
please document that it can accept also non Driver
subject.save | ||
end | ||
|
||
it "does not update any driver" do |
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.
do we want not update or explicit udev rule delete?
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.
This one is about setting the Driver options.
In my tests I ended in this scenario: let's say that I select a
custom
driver for a given interface, which caused a udev rule to be written. The next time that I open the hardware dialog again, I can only switch between thecustom
and thevirtio_net
driver. But, in both cases, a udev rule will be written (or updated). But what I want to do is to not force any driver at all. The only option is to manually delete the file.As a solution, I have extended the drivers dialog to support an
auto
option, in which case no udev rule is written (and the kernel will decide which module to use).