anyway, to continue on the previous posts... somehow i fail to see why you
would want to work this way...

maybe you want to couple MAC-address to computername or other
computer-specific things that should be set?
you can do all of this with the csv or mysql things...

i think i've seen some posts around here about choosing an unattend.txt file
based on information from csv or mysql

Michael

On Sat, Jul 12, 2008 at 9:18 AM, Michael De Groote <
[EMAIL PROTECTED]> wrote:

> i thought the boot-time parameters are some sort of environment variables,
> so if you want them to be used inside your perl script, you should use
> something like
>
> $z_install = $ENV{'z_install'};
>
> or take a look at http://www.perl.com/doc/manual/html/lib/Env.html
> and try to include that perl lib in your server-side install lib dir...
>
> michael
>
> On Fri, Jul 11, 2008 at 9:21 PM, kevin <[EMAIL PROTECTED]> wrote:
>
>> Where are you specifying z_install at?  As far as I can tell and I also
>> have a hard time with Perl, is that config.pl is only looking at
>> unattend.csv or a mysql DB if you set it up for that, but by default it's
>> reading from unattend.csv.
>>
>> I think that's what you might want to look at.
>>
>> kevin
>>
>>
>> On Fri, Jul 11, 2008 at 10:23 AM, Jeremy Fein <[EMAIL PROTECTED]> wrote:
>>
>>> Thanks kevin, that helped a LOT.
>>>
>>> I have the z_install parameter set on my linux boot disk. I've written
>>> this code for the config.pl:
>>>
>>> my $installtype = $u->{'_meta'}->{'z_install'};
>>> if ($installtype eq 'A') {
>>>      $u->read (dos_to_host ('z:\\site\\unattend_A.txt'));
>>> }
>>> elsif ($installtype eq 'B') {      $u->read (dos_to_host
>>> ('z:\\site\\unattend_B.txt'));
>>> }
>>>
>>> Obviously this doesn't work. The installtype is never set anywhere in the
>>> meta section, and I get the following error when I run the boot disk:
>>>
>>> Use of uninitialized value in string eq at /z/site/config.pl line 5
>>>
>>> How can I set the z_install value to be set to the value on the boot
>>> disk, just as the z_user, z_path, and z_pass values are initialized?
>>>
>>> Thanks.
>>>
>>
>>
>> -------------------------------------------------------------------------
>> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
>> Studies have shown that voting for your favorite open source project,
>> along with a healthy diet, reduces your potential for chronic lameness
>> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
>> _______________________________________________
>> unattended-info mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/unattended-info
>>
>>
>
>
> --
> Michael De Groote
> ICT-coordinator Sancta Maria Basisschool Leuven
> ICT-coordinator Sint-Pietersschool Korbeek-Lo
> ICT-coordinator Scholengemeenschap Katholieke Basisscholen Leuven
> ICT-coordinator Parkschool Leuven




-- 
Michael De Groote
ICT-coordinator Sancta Maria Basisschool Leuven
ICT-coordinator Sint-Pietersschool Korbeek-Lo
ICT-coordinator Scholengemeenschap Katholieke Basisscholen Leuven
ICT-coordinator Parkschool Leuven
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
unattended-info mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unattended-info

Reply via email to