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