summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pxe_wizard/Pxe.pm81
1 files changed, 40 insertions, 41 deletions
diff --git a/pxe_wizard/Pxe.pm b/pxe_wizard/Pxe.pm
index 0beb0e85..77132fc7 100644
--- a/pxe_wizard/Pxe.pm
+++ b/pxe_wizard/Pxe.pm
@@ -71,7 +71,6 @@ my %level = (
4 => N("Modify - Modify boot image in PXE"),
);
-#($o->{var}{METHOD}, $o->{var}{IP}, $o->{var}{DIR}, $o->{var}{RAM}, $o->{var}{VGA}, $o->{var}{ACPI}, $o->{var}{APIC});
# to get list menu entry
my @list_menu;
@@ -99,7 +98,7 @@ foreach (cat_($PXEDEFAULT)) {
#begin of wizard
$o->{pages} = {
welcome => {
- name => N("PXE wizard") . "\n\n" . N("Set a PXE server.") . "\n\n" . N("This wizard will help you configuring the PXE server. This configuration will provide a pxe service, and ability to add/remove/modify boot images."),
+ name => N("PXE wizard") . "\n\n" . N("Set a PXE server.") . "\n" . N("This wizard will help you configuring the PXE server. PXE (Pre-boot Execution Environment) is a protocol designed by Intel that allows computers to boot through the network. PXE is stored in the ROM of new generation network cards. When the computer boots up, the BIOS loads the PXE ROM in the memory and executes it. A menu is displayed, allowing the computer to boot an operating system loaded through the network.") . "\n" . N("This wizard will provide a pxe service, and ability to add/remove/modify boot images."),
no_back => 1,
pre => sub {
$o->{var}{wiz_level} ||= 1;
@@ -113,30 +112,30 @@ $o->{pages} = {
return 'modifyimg' }
},
data => [
- { label => N("Which operation:"), val => \$o->{var}{wiz_level}, list => [ keys %level ], format => sub { $level{$_[0]} } },
+ { label => N("What do you want to do:"), val => \$o->{var}{wiz_level}, list => [ keys %level ], format => sub { $level{$_[0]} } },
],
no_back => 1,
next => 'pxeserver',
},
addimg => {
- name => N("Add a boot Image") . "\n\n" . N("Path to image: Full path to image (need network boot image)") . "\n\n" . N("PXE Name: Name in PXE menu (one word/number, no space)"),
+ name => N("Add a boot image") . "\n\n" . N("Path to image: full path to image (need network boot image)") . "\n\n" . N("PXE name: name in PXE menu (one word/number, no space please)"),
data => [
- { label => "PXE Name:", val => \$o->{var}{PXENAME} },
- { label => "PXE Description:", val => \$o->{var}{DESCR} },
- { label => "Full Path to boot image:", val => \$o->{var}{IMG} },
+ { label => "PXE name:", val => \$o->{var}{PXENAME} },
+ { label => "PXE description:", val => \$o->{var}{DESCR} },
+ { label => "Full path to boot image:", val => \$o->{var}{IMG} },
],
post => \&test_data,
next => 'summaryadd',
},
removeimg => {
- name => N("Remove a boot Image")
+ name => N("Remove a boot image"). "\n\n" . N("Choose PXE boot image you want to remove from PXE server."),
data => [
{ label => N("Boot image to remove:"), val => \$o->{var}{IMGTOREMOVE}, fixed_list => \@list_menu },
],
next => 'summaryremove',
},
modifyimg => {
- name => N("Add Option to boot image"),
+ name => N("Add option to boot image:") . "\n\n" . N("Please choose PXE boot image to modify"),
data => [
{ label => N("Boot image to configure:"), val => \$o->{var}{IMGTOMODIFY}, fixed_list => \@list_menu },
],
@@ -144,26 +143,26 @@ $o->{pages} = {
next => 'gomodify',
},
gomodify => {
- name => N("Options to add to PXE boot disk"),
+ name => N("Options to add to PXE boot disk") . "\n" . N("Server IP: IP address of server wich contain installation directory. You can create one with MDK install server wizard.") . "\n" . N("Install directory: full path to MDK install server directory") . "\n" . N("Installation method: choose nfs/http to install via nfs/http.") . "\n" . N("Network client interface: through wich interface client should be installed.") . "\n" . N("Ramsize: adjust ramsize on boot disk.") . "\n" . N("VGA option: if you encounter some problem whith VGA, please adjust. ") . "\n" . N("Acpi option: Advanced Configuration and Power Interface"),
data => [
- { label => N("Boot image to modify"), fixed_val => \$o->{var}{i} },
- { label => N("Server IP"), val => \$o->{var}{IP} },
- { label => N("Install directory"), val => \$o->{var}{DIR} },
- { label => N("Installation method"), val => \$o->{var}{METHOD}, fixed_list => \@list_method },
- { label => N("Network Client Interface"), val => \$o->{var}{ETH}, fixed_list => \@list_eth },
- { label => N("Ramsize"), val => \$o->{var}{RAM}, fixed_list => \@list_ram },
- { label => N("VGA option"), val => \$o->{var}{VGA}, fixed_list => \@list_vga },
- { label => N("Acpi option"), val => \$o->{var}{ACPI}, fixed_list => \@list_acpi },
- { label => N("Apic option"), val => \$o->{var}{APIC}, fixed_list => \@list_apic },
+ { label => N("Boot image to modify:"), fixed_val => \$o->{var}{i} },
+ { label => N("Server IP:"), val => \$o->{var}{IP} },
+ { label => N("Install directory:"), val => \$o->{var}{DIR} },
+ { label => N("Installation method:"), val => \$o->{var}{METHOD}, fixed_list => \@list_method },
+ { label => N("Network client interface:"), val => \$o->{var}{ETH}, fixed_list => \@list_eth },
+ { label => N("Ramsize:"), val => \$o->{var}{RAM}, fixed_list => \@list_ram },
+ { label => N("VGA option:"), val => \$o->{var}{VGA}, fixed_list => \@list_vga },
+ { label => N("Acpi option:"), val => \$o->{var}{ACPI}, fixed_list => \@list_acpi },
+ { label => N("Apic option:"), val => \$o->{var}{APIC}, fixed_list => \@list_apic },
],
next => 'summarymodify',
},
pxeserver => {
- name => N("Set PXE server") . "\n\n" . N("We will use a special dhcpd.conf"),
+ name => N("Set PXE server") . "\n\n" . N("We need to use a special dhcpd.conf with PXE parameter.") . "\n" . N("This will configure all needed default configurations files to set a PXE server."),
next => 'summaryserver',
},
error_img => {
- name => N('Please provide a Bootable image...'),
+ name => N('Please provide a bootable image...'),
next => 'addimg',
},
error_name => {
@@ -171,32 +170,32 @@ $o->{pages} = {
next => 'addimg',
},
simmilar_entry => {
- name => N('Similar Name is already used in PXE menu entry') . "\n\n" . N("Please provide another Pxe Menu Name"),
+ name => N('Similar name is already used in PXE menu entry') . "\n\n" . N("Please provide another PXE Menu name"),
next => 'addimg',
},
summaryserver => {
- name => N('Now will prepapre all default files to get PXE server'),
+ name => N('Now will prepare all default files to set the PXE server'),
data => [
- { label => N("Tftp directory"), fixed_val => \$TFTPDIR },
- { label => N("Boot image path"), fixed_val => \$IMGPATH },
- { label => N("PXE \'default\' file "), fixed_val => \$PXEDEFAULT },
- { label => N("PXE \'help\' file"), fixed_val => \$PXEHELP },
+ { label => N("Tftp directory:"), fixed_val => \$TFTPDIR },
+ { label => N("Boot image path:"), fixed_val => \$IMGPATH },
+ { label => N("PXE \'default\' file:"), fixed_val => \$PXEDEFAULT },
+ { label => N("PXE \'help\' file:"), fixed_val => \$PXEHELP },
],
post => \&do_it_pxe,
next => 'endserver',
},
summarymodify => {
- name => N('Now will Modify boot options in image'),
+ name => N('Now will modify boot options in image'),
data => [
- { label => N("Boot image to Modify"), fixed_val => \$o->{var}{i} },
- { label => N("Server IP"), fixed_val => \$o->{var}{IP} },
- { label => N("Install directory"), fixed_val => \$o->{var}{DIR} },
- { label => N("Installation method"), fixed_val => \$o->{var}{METHOD} },
- { label => N("Network Client Interface"), fixed_val => \$o->{var}{ETH} },
- { label => N("Ramsize"), fixed_val => \$o->{var}{RAM} },
- { label => N("VGA option"), fixed_val => \$o->{var}{VGA} },
- { label => N("Acpi option"), fixed_val => \$o->{var}{ACPI} },
- { label => N("Apic option"), fixed_val => \$o->{var}{APIC} },
+ { label => N("Boot image to modify:"), fixed_val => \$o->{var}{i} },
+ { label => N("Server IP:"), fixed_val => \$o->{var}{IP} },
+ { label => N("Install directory:"), fixed_val => \$o->{var}{DIR} },
+ { label => N("Installation method:"), fixed_val => \$o->{var}{METHOD} },
+ { label => N("Network client interface:"), fixed_val => \$o->{var}{ETH} },
+ { label => N("Ramsize:"), fixed_val => \$o->{var}{RAM} },
+ { label => N("VGA option:"), fixed_val => \$o->{var}{VGA} },
+ { label => N("Acpi option:"), fixed_val => \$o->{var}{ACPI} },
+ { label => N("Apic option:"), fixed_val => \$o->{var}{APIC} },
],
post => \&do_it_modify,
next => 'endmodify',
@@ -210,10 +209,10 @@ $o->{pages} = {
next => 'endremove',
},
summaryadd => {
- name => N('Now will add your PXe boot image'),
+ name => N('Now will add your PXE boot image'),
data => [
- { label => "PXE Name:", fixed_val => \$o->{var}{PXENAME} },
- { label => "PXE Description:", fixed_val => \$o->{var}{DESCR} },
+ { label => "PXE name:", fixed_val => \$o->{var}{PXENAME} },
+ { label => "PXE description:", fixed_val => \$o->{var}{DESCR} },
{ label => "Path to boot image:", fixed_val => \$o->{var}{IMG} },
],
post => \&do_it_add,
@@ -236,7 +235,7 @@ $o->{pages} = {
},
endserver => {
name => N('Congratulations'),
- data => [ { label => N('The wizard successfully configured Your PXE server.') } ],
+ data => [ { label => N('The wizard successfully configured your PXE server.') } ],
no_back => 1,
end => 1,
next => 0