summaryrefslogtreecommitdiffstats
path: root/loader2
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2006-09-19 18:19:43 +0000
committerDavid Cantrell <dcantrell@redhat.com>2006-09-19 18:19:43 +0000
commit5aff3ac0510d8075206eb8de2efaca6044601f8b (patch)
tree57ed714053bead02da63c967b556cb504ee1589a /loader2
parentbed819d228f2db4b588ce191437f8f1a5dce5419 (diff)
downloadanaconda-5aff3ac0510d8075206eb8de2efaca6044601f8b.tar.gz
anaconda-5aff3ac0510d8075206eb8de2efaca6044601f8b.tar.xz
anaconda-5aff3ac0510d8075206eb8de2efaca6044601f8b.zip
* loader2/net.c (manualNetConfig): Add description at the top of the
manual network configuration dialog that explains what the input fields expect from the user.
Diffstat (limited to 'loader2')
-rw-r--r--loader2/net.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/loader2/net.c b/loader2/net.c
index 156ce2525..68b705475 100644
--- a/loader2/net.c
+++ b/loader2/net.c
@@ -832,6 +832,7 @@ int manualNetConfig(char * device, struct networkDeviceConfig * cfg,
newtGrid qgrid = NULL;
newtGrid rgrid = NULL;
newtGrid buttons, grid;
+ newtComponent text = NULL;
/* UI WINDOW 2 (optional): manual IP config for non-DHCP installs */
rows = 2;
@@ -996,11 +997,20 @@ int manualNetConfig(char * device, struct networkDeviceConfig * cfg,
buttons = newtButtonBar(_("OK"), &okay, _("Back"), &back, NULL);
/* main window layout */
- grid = newtCreateGrid(1, 2);
+ grid = newtCreateGrid(1, 3);
+
+ buf = sdupprintf(_("Enter the IPv4 and/or the IPv6 address and prefix "
+ "(address / prefix). For IPv4, the dotted-quad "
+ "netmask or the CIDR-style prefix are acceptable. "
+ "The gateway and name server fields must be valid IPv4 "
+ "or IPv6 addresses."));
+ text = newtTextboxReflowed(-1, -1, buf, 52, 0, 10, 0);
- newtGridSetField(grid, 0, 0, NEWT_GRID_SUBGRID, egrid,
+ newtGridSetField(grid, 0, 0, NEWT_GRID_COMPONENT, text,
0, 0, 0, 1, NEWT_ANCHOR_LEFT, 0);
- newtGridSetField(grid, 0, 1, NEWT_GRID_SUBGRID, buttons,
+ newtGridSetField(grid, 0, 1, NEWT_GRID_SUBGRID, egrid,
+ 0, 0, 0, 1, NEWT_ANCHOR_LEFT, 0);
+ newtGridSetField(grid, 0, 2, NEWT_GRID_SUBGRID, buttons,
0, 0, 0, 0, 0, NEWT_GRID_FLAG_GROWX);
f = newtForm(NULL, NULL, 0);