summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakTermServ
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2002-10-10 23:41:52 +0000
committerStew Benedict <stewb@mandriva.org>2002-10-10 23:41:52 +0000
commit91f8cd64dd48d7a7000f6c2ecc29d812a0325541 (patch)
treefee5faf8955616494601b986de9f3ede233611b3 /perl-install/standalone/drakTermServ
parent396d3cdd5194e36408347554458ee2692d2aac8e (diff)
downloaddrakx-backup-do-not-use-91f8cd64dd48d7a7000f6c2ecc29d812a0325541.tar
drakx-backup-do-not-use-91f8cd64dd48d7a7000f6c2ecc29d812a0325541.tar.gz
drakx-backup-do-not-use-91f8cd64dd48d7a7000f6c2ecc29d812a0325541.tar.bz2
drakx-backup-do-not-use-91f8cd64dd48d7a7000f6c2ecc29d812a0325541.tar.xz
drakx-backup-do-not-use-91f8cd64dd48d7a7000f6c2ecc29d812a0325541.zip
Correct typo in create boot ISO code
Add note in help about optional net boot image entry for PCI cards
Diffstat (limited to 'perl-install/standalone/drakTermServ')
-rwxr-xr-xperl-install/standalone/drakTermServ5
1 files 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?"))