On Mon, Apr 08, 2013 at 04:43:19AM +0300, Zeeshan Ali (Khattak) wrote: > On Sat, Apr 6, 2013 at 9:32 AM, Fabiano Fidêncio <fabiano@xxxxxxxxxxxx> wrote: > One important thing to note is that according to the documentation, > the same method we use for Fedora should also work for Debian/Ubuntu While this was my initial impression too, more careful reading made me realize that the various methods they present really talk about having the unattended file on the same media as the installer, not on a separate one. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=509723 seemed like it could be useful for what we are trying to do, but I did not manage to get it to work. > > Thinking a bit here, at least for Fedora* and OpenSuSE, we could add a > > property in the install-scripts, "command-line-format" to specify the > > format. Something contenting: > > - installation method (ks, autoyast) -- could be represented by "!" > > What would '!' say to app? Do they substitute it with 'ks' or > 'autoyast'? Why not just give them 'ks' or 'autoyast' itself? > > > - installation method option (hd, device) - could be represented by "@" > > Again why use a variable and how does app know what it means for each script/os? > > > - device where the script will be put in (sda, sdb) - could be represented > > by "#" > > Now is this something that really should come from app but thing is > that app is already providing this in installer config. > > What I suggest is that we also use XSL template (just like the script > template) for generating this commandline for the app. App will pass > the same install config as it will for generation of scripts. > > > - expected filename (fedora.ks, autoinst.xml) > > This we already have and if we generate the commandline for the app, > we can simply hard-code this in the template. I didn't think about all of this in detail, but I agree that something less cryptic than a string with magic !, @, ... would be good ;) Christophe
Attachment:
pgpxP8DbM2rN1.pgp
Description: PGP signature
_______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo