[opensuse-autoinstall] Feature request _ask_ for rules/class merging
Hello, I would like to have the following feature: on the server I have some templates("rules") for different partitioning,software etc. But I like the user who installs the system to select these rules (instead of the automatic matching) During Autoyast, before the installation starts, a window should appear which shows all rules by Name and the user then clicks the rulenames which he wants to be applied to the autoyast.xml file. I know that there are "rules/classes" already and its possible to add <ask> dialogs during autoinstall. But I think its not possible to merge rules with an ask statement. regards, Martin -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Friday 24 July 2009 Martin Vogt wrote:
I would like to have the following feature:
During Autoyast, before the installation starts, a window should appear which shows all rules by Name and the user then clicks the rulenames which he wants to be applied to the autoyast.xml file.
yeah, sounds useful. I'll take a look at it. -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug listening to: "Liebe Und Zorn" by Joachim Witt -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Friday 24 July 2009 Martin Vogt wrote:
on the server I have some templates("rules") for different partitioning,software etc.
But I like the user who installs the system to select these rules (instead of the automatic matching)
During Autoyast, before the installation starts, a window should appear which shows all rules by Name and the user then clicks the rulenames which he wants to be applied to the autoyast.xml file.
I have implemented that for openSUSE 11.3 and I did a backport for openSUSE 11.2 (that driverupdate might even work for openSUSE 11.1 but I did not try). I blogged about it: http://ugansert.blogspot.com/2009/11/interactive-autoyast-rules.html official documentation: http://www.suse.de/~ug/autoyast_doc/rulesandclass.html#rules_dialogs driverupdate for openSUSE 11.2 (might work for 11.1 too): http://www.suse.de/~ug/download/driverupdate_11.2.tar.bz2 -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Uwe Gansert wrote:
on Friday 24 July 2009 Martin Vogt wrote:
on the server I have some templates("rules") for different partitioning,software etc.
But I like the user who installs the system to select these rules (instead of the automatic matching)
During Autoyast, before the installation starts, a window should appear which shows all rules by Name and the user then clicks the rulenames which he wants to be applied to the autoyast.xml file.
I have implemented that for openSUSE 11.3 and I did a backport for openSUSE 11.2 (that driverupdate might even work for openSUSE 11.1 but I did not try).
I blogged about it: http://ugansert.blogspot.com/2009/11/interactive-autoyast-rules.html
official documentation: http://www.suse.de/~ug/autoyast_doc/rulesandclass.html#rules_dialogs
driverupdate for openSUSE 11.2 (might work for 11.1 too): http://www.suse.de/~ug/download/driverupdate_11.2.tar.bz2
Hi there, I just wanted to try this feature within my openSUSE 11.2 autoinstallation. I installed the driverupdate in my installation source and copy/paste your example from your blog into my rules.xml. During installation the dialogbox pops up but I can not switch the selection. Timeout seems also not ot work. Any ideas? Is there something missing in your example? Regards Werner Hack -- -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Wednesday 18 November 2009 Werner Hack wrote:
I just wanted to try this feature within my openSUSE 11.2 autoinstallation. I installed the driverupdate in my installation source and copy/paste your example from your blog into my rules.xml. During installation the dialogbox pops up but I can not switch the selection. Timeout seems also not ot work.
okay, the first version was impressively broken. I put a new driverupdate to http://www.suse.de/~ug/download/ Thanks Werner for testing and reporting the issues. It seems to work now. -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Uwe Gansert wrote:
okay, the first version was impressively broken. I put a new driverupdate to http://www.suse.de/~ug/download/
Thanks Werner for testing and reporting the issues. It seems to work now.
Testing with openSUSE 11.2 and the driverupdate, I think I found some more bugs. Or are they features? First: Deselecting one ore more (default) elements in a dialog box and NOT selecting a different element doesn't lead to the expected result. The rules are still "matching" and executed after pressing OK as long as no different element is chosen before pressing OK. I would expect, that selected elements/rules are "on" and deselected are "off" independent of the switching "history", same for the next point... Second: Elements not selected by default (e.g. with an never matching rule) are not locked and can be chosen additionally to the default options, even when marked as conflicting with them. The are only locked (and marked grey) after changing the default. Third: I had several tries when not only the default elements/rules where marked as chosen/matching automatically but all elements, even when conflicting. And last, not a real bug(?) but strange anyway: When the autoinstallation pauses at the first dialog box, switching to console 3 with CTRL+ALT+F3, I can read the following: ... dud: nfs:/linux/suse/x86_64-11.1 ---- or dud: nfs:/linux/suse/i586-11.1 ---- depending on which type (32/64bit) installation I try. Is this connected to the "driverupdate"? If yes, I would expect 11.3 or at least 11.2. Additionally: With the "driverupdate", I managed to get some segmentation faults with one certain rules file. After changing the file, interactive yast rules seem to work now with the effects described above. I know, it's a openSUSE 11.3 feature, but is it possible, to get another version of "driverupdate" for openSUSE 11.2? That would be great! Regards, -- Guenther Haas, Uni Ulm, Institut TAIT, guenther.haas@gmx.de -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Tuesday 24 November 2009 Guenther Haas wrote:
Testing with openSUSE 11.2 and the driverupdate, I think I found some more bugs. Or are they features?
okay, first of all: http://www.suse.de/~ug/rules.html
First: ...
Second: ...
I'll check those. Thanx.
Third: I had several tries when not only the default elements/rules where marked as chosen/matching automatically but all elements, even when conflicting.
what does it mean "serveral times"? The same XML behaved differently on multiple tries? Can I see that rules.xml?
And last, not a real bug(?) but strange anyway: When the autoinstallation pauses at the first dialog box, switching to console 3 with CTRL+ALT+F3, I can read the following: ... dud: nfs:/linux/suse/x86_64-11.1 ---- or dud: nfs:/linux/suse/i586-11.1 ---- depending on which type (32/64bit) installation I try. Is this connected to the "driverupdate"? If yes, I would expect 11.3 or at least 11.2.
very good observation :) That's a bug in linuxrc which is more or less harmless. In my case it's even nice, because now the driverupdate might work for 11.1 too, even though it was created for 11.2 actually.
Additionally: With the "driverupdate", I managed to get some segmentation faults with one certain rules file. After changing the file, interactive yast rules seem to work now with the effects described above.
can I see that file please?
I know, it's a openSUSE 11.3 feature, but is it possible, to get another version of "driverupdate" for openSUSE 11.2? That would be great!
I'll fix that for sure. It's better we discover the problems now while I can fix them than after the release of 11.3 I'll create a new driverupdate. Thanx for testing it. -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Tuesday 24 November 2009 Guenther Haas wrote:
First: Deselecting one ore more (default) elements in a dialog box and NOT selecting a different element doesn't lead to the expected result.
I can not reproduce that here. I'd need your rules.xml file for that
Second: Elements not selected by default (e.g. with an never matching rule) are not locked and can be chosen additionally to the default options, even when marked as conflicting with them. The are only locked (and marked grey) after changing the default.
Werner found that one too. It's indeed a bug which is fixed by the driverupdate I have uploaded a few minutes ago The other issues you had I can not reproduce. Please send me you rules.xml file. -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug listening to: "Spark (Burikusu RMX)" by Assemblage 23 -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (4)
-
Guenther Haas
-
Martin Vogt
-
Uwe Gansert
-
Werner Hack