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
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info