summaryrefslogtreecommitdiffstats
path: root/pxe_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2003-12-16 14:43:57 +0000
committerAntoine Ginies <aginies@mandriva.com>2003-12-16 14:43:57 +0000
commitda36f3be4b33c54315cd86cf3366758b6848c4b4 (patch)
tree9ba99d11a4b865c8f06a3a2cb57b9245f6cb53e6 /pxe_wizard
parent6274f6dc84f2dbd399554308f3f31b31f49126f5 (diff)
downloaddrakwizard-da36f3be4b33c54315cd86cf3366758b6848c4b4.tar
drakwizard-da36f3be4b33c54315cd86cf3366758b6848c4b4.tar.gz
drakwizard-da36f3be4b33c54315cd86cf3366758b6848c4b4.tar.bz2
drakwizard-da36f3be4b33c54315cd86cf3366758b6848c4b4.tar.xz
drakwizard-da36f3be4b33c54315cd86cf3366758b6848c4b4.zip
few update in wizard structure
Diffstat (limited to 'pxe_wizard')
-rw-r--r--pxe_wizard/Pxe.pm60
1 files changed, 48 insertions, 12 deletions
diff --git a/pxe_wizard/Pxe.pm b/pxe_wizard/Pxe.pm
index e2ac5506..4751c9e5 100644
--- a/pxe_wizard/Pxe.pm
+++ b/pxe_wizard/Pxe.pm
@@ -4,7 +4,7 @@
# Copyright (C) 2003 Mandrakesoft
#
-# Author: Florent Villard <warly@mandrakesoft.com>
+# Author: Antoine Ginies <aginies _ateuh _ mandrakesoft.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -88,7 +88,7 @@ $o->{pages} = {
return 'addimg' }
elsif ($o->{var}{wiz_level} == 3) {
return 'removeimg' }
- elsif ($o->{var}{wiz_level} == 4) {
+ elsif ($o->{var}{wiz_level} == 4) {
return 'modifyimg' }
},
data => [
@@ -98,24 +98,53 @@ $o->{pages} = {
next => 'pxeserver',
},
addimg => {
+ name => N("Add a boot Image") . "\n\n" . N("Where is that boot image ?"),
+ data => [
+ { label => N(""), val => \$o->{var}{} },
+ ],
+ next => 'summaryadd',
},
removeimg => {
+ name => N("Remove a boot Image") . "\n\n" . N("Which one ?"),
+ data => [
+ { label => N(""), val => \$o->{var}{} },
+ ],
+ next => 'summaryremove',
},
modifyimg => {
+ name => N("Add Option to boot image") . "\n\n" . N("on Wich image ?"),
+ data => [
+ { label => N(""), val => \$o->{var}{} },
+ ],
+ next => 'summarymodify',
},
pxeserver => {
- },
- endserver => {
- name => N('Congratulations'),
- data => [ { label => N('The wizard successfully configured Your PXE server.') } ],
- no_back => 1,
- end => 1,
- next => 0
+ name => N("Set PXE server") . "\n\n" . N("We will use a special dhcpd.conf"),
+ data => [
+ { label => N(""), val => \$o->{var}{} },
+ ],
+ next => 'summaryserver',
},
error_dir => {
- name => N('Error Should be a directory'),
- next => '',
- },
+ name => N('Error Should be a directory'),
+ next => '',
+ },
+ summaryserver => {
+ name => N(''),
+ next => 'endserver',
+ },
+ summarymodify => {
+ name => N(''),
+ next => 'endmodify',
+ },
+ summaryremove => {
+ name => N(''),
+ next => 'endremove',
+ },
+ summaryadd => {
+ name => N(''),
+ next => 'endadd',
+ },
endadd => {
name => N('Congratulations'),
data => [ { label => N('The wizard successfully add a PXE image.') } ],
@@ -137,6 +166,13 @@ $o->{pages} = {
end => 1,
next => 0
},
+ endserver => {
+ name => N('Congratulations'),
+ data => [ { label => N('The wizard successfully configured Your PXE server.') } ],
+ no_back => 1,
+ end => 1,
+ next => 0
+ },
};