summaryrefslogtreecommitdiffstats
path: root/dhcp_wizard/dhcp.wiz
diff options
context:
space:
mode:
Diffstat (limited to 'dhcp_wizard/dhcp.wiz')
-rw-r--r--dhcp_wizard/dhcp.wiz245
1 files changed, 1 insertions, 244 deletions
diff --git a/dhcp_wizard/dhcp.wiz b/dhcp_wizard/dhcp.wiz
index bfd4a593..f253fc86 100644
--- a/dhcp_wizard/dhcp.wiz
+++ b/dhcp_wizard/dhcp.wiz
@@ -6,14 +6,7 @@
libScript="__WIZ_HOME__/common/scripts/functions.sh"
wizardTitle="DHCP Wizard"
imagePosition="top"
- defaultImage="__WIZ_HOME__/images/DHCP.jpg"
- height="400"
- width="525"
- hasDb="true"
- dbPositions="2"
- dbFilename="/var/log/wizards/dhcp.wdb"
- referenceLength="425"
- referenceHeight="13"
+ defaultImage="__WIZ_HOME__/dhcp_wizard/images/DHCP"
perlModule="__WIZ_HOME__/dhcp_wizard/scripts/Dhcpconf.pm"
rpm="dhcp-server"
>
@@ -23,9 +16,6 @@
comment="Low end of the DHCP server IP range"
shellVariable="wiz_ip_range1"
defaultValue="192.168.0.100"
- persistent="true"
- dbPosition="0"
- key="false"
>
</Variable>
@@ -34,9 +24,6 @@
comment="High end of the DHCP server IP range"
shellVariable="wiz_ip_range2"
defaultValue="192.168.0.254"
- persistent="true"
- dbPosition="1"
- key="false"
>
</Variable>
@@ -69,45 +56,18 @@
</Target>
<Info
- name="welcomeTitle"
- alignement="Center"
helpText="DHCP Configuration Wizard"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info4"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info5"
- alignement="Center"
helpText="DHCP is a service that automatically assigns networking addresses to your workstations."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info"
- alignement="Center"
helpText="This wizard will help you configuring the DHCP services of your server."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -136,99 +96,38 @@
</Target>
<Info
- name="dhcpRangeTtitle"
- alignement="Center"
helpText="Range of addresses used by dhcp"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info12"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info3"
- alignement="East"
helpText="Select the range of addresses assigned to the workstations by the DHCP service; unless you have special needs, you can safely accept the proposed values."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info8"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Freetext
name="dhcpIpLow"
variableName="dhcp_range_low"
- alignement="Fill"
fillScript="__WIZ_HOME__/dhcp_wizard/compute_range1.sh"
helpText="Lowest IP Address:"
- guiType="textfield"
editable="true"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
<Freetext
name="dhcpIpHigh"
variableName="dhcp_range_high"
- alignement="Fill"
fillScript="__WIZ_HOME__/dhcp_wizard/compute_range2.sh"
helpText="Highest IP Address:"
- guiType="textfield"
editable="true"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
- <Info
- name="info10"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info11"
- alignement="East"
helpText="IP addresses are a dotted list of four numbers smaller than 256."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -245,13 +144,7 @@
>
<Info
- name="dhcpRangeErrorLabel"
- alignement="Center"
helpText="The IP range specified is not correct"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
</Page>
@@ -280,98 +173,37 @@
</Target>
<Info
- name="doitTitle"
- alignement="Center"
helpText="Configuring the DHCP Server"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info2"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info13"
- alignement="East"
helpText="The wizard collected the following parameters
needed to configure your DHCP service:"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info15"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Freetext
name="freetext"
variableName="dhcp_range_low"
- alignement="Fill"
helpText="Lowest IP Address:"
- guiType="textfield"
editable="false"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
<Freetext
name="freetext1"
variableName="dhcp_range_high"
- alignement="Fill"
helpText="Highest IP Address:"
- guiType="textfield"
editable="false"
- fontName="Default"
- fontStyle="bold"
- fontSize="11"
- proportional="2"
- ratio="30"
- length="40"
>
</Freetext>
- <Info
- name="info16"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info17"
- alignement="East"
helpText="To accept these values, and configure your server, click on \qConfigure\q or use the Back button to correct them."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -387,34 +219,13 @@ needed to configure your DHCP service:"
>
<Info
- name="dhcpTitle"
- alignement="Center"
helpText="Congratulations"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info20"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info21"
- alignement="Center"
helpText="The wizard successfully configured the DHCP services of your server."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -430,13 +241,7 @@ needed to configure your DHCP service:"
>
<Info
- name="errorLabel"
- alignement="Center"
helpText="You need to be root to run this wizard"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
</Page>
@@ -452,66 +257,24 @@ needed to configure your DHCP service:"
>
<Info
- name="errorLabel"
- alignement="Center"
helpText="Network not configured yet"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
>
</Info>
- <Info
- name="info23"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="bold"
- fontSize="14"
- >
- </Info>
<Info
- name="info22"
- alignement="Center"
helpText="You have to configure the basic network parameters before launch this wizard."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
<Info
- name="info25"
- alignement="Center"
helpText="Press next to configure these parameters now, or Cancel to exit this wizard."
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
- <Info
- name="info26"
- alignement="Center"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
- >
- </Info>
<Info
- name="info24"
- alignement="Center"
helpText="If you choose to configure now, you will automatically continue with the DHCP configuration"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>
@@ -538,13 +301,7 @@ needed to configure your DHCP service:"
>
<Info
- name="errorLabel"
- alignement="Center"
helpText="System error, no configuration done"
- guiType="label"
- fontName="Default"
- fontStyle="plain"
- fontSize="11"
>
</Info>
</Page>