On Monday 15 December 2008 00:48:47 Klassen Torben wrote:
> Hello,
>
> In order to get the installation process as quick as possible I want to use
> the meta section to get rid of the partition things and a few other
> questions. But on the website I can´t find out where to fill in the values.
>
> [_meta]
>     fdisk_lba=1
>     fdisk_cmds="fdisk /clear 1;fdisk /pri:4000;fdisk /activate:1"
>     fdisk_confirm=0
>     format_cmd="format /y /z:seriously /q /u /a /v: c:"
>     replace_mbr=1
>     local_admins=""
>     edit_files=0
>
> On which position of the install.pl I have to add this sample?
>
> Greetings
>
> ---------------------------------------------------------------------------
>--- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
> Nevada. The future of the web can't happen without you.  Join us at MIX09
> to help pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com
>/ _______________________________________________
> unattended-info mailing list
> unattended-info@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/unattended-info

Any value that you want to add to the _meta section of the ini file can be 
done via "$u->push_value ('_meta', 'myoption', 'myvalue');" in the config.pl 
script.

Here's what I did.  I modified the example site/config.pl (copied from the 
example using the csv file).  In there, I added some code to fill those parts 
in.  The example also has code to look up parts of these.  I'm attaching the 
config.pl that I'm using as an example, but you should probably make your 
own.

BTW, there seems to be a problem when the value is 0 in the csv.  It seems 
that the csv parser won't accept a 0 when it encounters one, and the 
install.pl will simply ask the question anyway.  In these circumstances, my 
config.pl just hardcodes the answer using the $u->push_value method (I'm 
sorry but I'm extremely poor with perl and may not be using the right terms).

I hope this is enough to get you started.

-- 
Thanks:
Joseph Rawson

Attachment: config.pl
Description: Perl program

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to