From 91f8cd64dd48d7a7000f6c2ecc29d812a0325541 Mon Sep 17 00:00:00 2001 From: Stew Benedict Date: Thu, 10 Oct 2002 23:41:52 +0000 Subject: Correct typo in create boot ISO code Add note in help about optional net boot image entry for PCI cards --- perl-install/standalone/drakTermServ | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/perl-install/standalone/drakTermServ b/perl-install/standalone/drakTermServ index 515444da6..12fc4e76a 100755 --- a/perl-install/standalone/drakTermServ +++ b/perl-install/standalone/drakTermServ @@ -322,7 +322,8 @@ sub help { - Maintain /etc/dhcpd.conf: To net boot clients, each client needs a dhcpd.conf entry, assigning an IP address and net boot images to the machine. drakTermServ helps create/remove these entries. - + (PCI cards may omit the image - etherboot will ask for the correct image) + A typical dhcpd.conf stanza to support a diskless client looks like: host curly { @@ -979,7 +980,7 @@ sub write_eb_image { system("dd if=/dev/zero of=/tmp/eb/eb.img bs=512 seek=72 count=2808"); system("mkisofs -b eb.img -o /tmp/$nic.iso /tmp/eb"); rm_rf("/tmp/eb"); - if ( -e "/tmp/eb.iso" ) { + if ( -e "/tmp/$nic.iso" ) { $in->ask_warn('',_("Etherboot ISO image is %s", "/tmp/$nic.iso")) } else { $in->ask_warn('',_("Something went wrong! - Is mkisofs installed?")) -- cgit v1.2.1