From: Dan B. <od...@sv...> - 2008-12-16 02:33:23
|
On Mon, Dec 15, 2008 at 04:28:03PM -0700, Travis Zadikem wrote: > Will check it out. Can I assume that you are using mysql then? If not, can > you share your whole > config.pl and unattend.csv (can changes and such if need be) as it would be > really helpful. If you are using > mysql that would be even better as I have just setup a skeleton to test with > from the conf-mysql.pl My unattended system doesn't use any database, Mysql or otherwise. I don't use unattend.csv either. Everything is in site/hosts/<machine>.txt for me. I find it far more flexible. > On Mon, Dec 15, 2008 at 2:58 PM, Dan Brosemer <od...@sv...> wrote: > > > On Mon, Dec 15, 2008 at 09:29:04AM -0700, Travis Zadikem wrote: > > > I am trying to find out if anyone ever got this working from an older > > thread > > > (7/2008) and if so if they would be sharing a quick how-to on this. Here > > is > > > part of the thread back then. I don't really care about the bootdisk > > stuff > > > I just to be able to select a machine (mac or machine name) and then it > > will > > > use the appropriate unattend.txt file. I have looked a the wiki but it > > > shows snippet examples and not a full-blown example. Can anyone help? > > > thanks! > > > > > > > > http://www.mail-archive.com/una...@li.../msg08016.html > > > > Put in config.pl (untested, I pulled this snip out of my config.pl that > > first gets the hostname from DHCP and *then* picks an unattend.txt from > > it): > > > > my $host2 = $u->{'UserData'}->{'ComputerName'}; > > if ( -r dos_to_host ('z:\\site\\hosts\\'.$host2.'.txt') ) > > { > > print "Found site/hosts/$host2.txt\n"; > > $u->read (dos_to_host ('z:\\site\\hosts\\'.$host2.'.txt')); > > } > > > > -Dan > > > > -- > > "Burnished gallows set with red > > Caress the fevered, empty mind > > Of man who hangs bloodied and blind > > To reach for wisdom, not for bread." -- Deoridhe Grimsdaughter > > -- "Burnished gallows set with red Caress the fevered, empty mind Of man who hangs bloodied and blind To reach for wisdom, not for bread." -- Deoridhe Grimsdaughter |