bootdisk: index2.cgi (HEAD)

juandon juandon w pld.org.pl
Śro, 8 Sty 2003, 17:36:22 CET


Module name:	bootdisk
Changes by:	juandon	03/01/08 17:36:20

Modified files:
	index2.cgi

Log message:
- some typos
- added more descriptions in left column

Index: index2.cgi
===================================================================
RCS file: /cvsroot/bootdisk/batch-installer/html/index2.cgi,v
diff -d -u -r1.2 -r1.3
--- index2.cgi	7 Jan 2003 22:06:14 -0000	1.2
+++ index2.cgi	8 Jan 2003 16:36:19 -0000	1.3
@@ -28,15 +28,14 @@
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
-<title>No title</title>
-<meta generator="index.cgi" />
+<title>PLD instalator (experimental HTML engine)</title>
 </head>
 <body>
 <table border="1">
 <tbody>
 <tr>
 <td>
-<form name="f1" action="f1.cgi" method="GET">
+<form name="f1" action="f1.cgi">
 source is one of:
 <ul>
 <li>net - ftp, http. source_filesystem has to be net</li>
@@ -45,33 +44,42 @@
 <li>disk</li>
 </ul>
 <p>	source =<input type="text" name="source" value="$source" maxlength="10"/></p>
+
 <p>	source_device: either dev/XXX for mount, or machine for nfs, or
 server name with optional protocol for net, ftp:// is the default</p>
 <p>	source_device = <input type="text" name="source_device" value="$source_device"/></p>
+
 <p>	source_filesystem: ex: iso9660, ext2</p>
 <p>	source_filesystem =<input type="text" name="source_filesystem" value="$source_filesystem"/></p>
+
 <p>	source_dir: exact directory where installation files (RPMS and installer directory)
 reside</p>
 <p>	source_dir = <input type="text" name="source_dir" value="$source_dir"/></p>
+
 <p><input type="submit" /></p>
 </form>
 </td>
 <td>
-<form name="f1" action="f1.cgi" method="GET">
+<form name="f1" action="f1.cgi">
 <p> source =<select size="4" name="source">
-<option>net</option>
-<option>nfs</option>
-<option selected >cdrom</option>
-<option>disk</option>
+`for i in net nfs cdrom disk
+do
+	echo -n "<option "
+	if [ "$source" = "$i" ]
+	then
+		echo "selected=\"yes\""
+	fi
+	echo ">$i</option>"
+done`
 </select></p>
 <p><input type="submit" /></p>
 </form>
-<hr>
-<form name="f1" action="f1.cgi" method="GET">
+<hr />
+<form name="f1" action="f1.cgi">
 <p>source_device =<select size="8" name="source_device">
 <option>/dev/hda</option>
 <option>/dev/hdb</option>
-<option selected >/dev/hdc</option>
+<option selected="yes" >/dev/hdc</option>
 <option>/dev/hdd</option>
 <option>/dev/scd1</option>
 <option>/dev/scd2</option>
@@ -80,11 +88,11 @@
 </select></p>
 <p><input type="submit" /></p>
 </form>
-<hr> 
-<form name="f1" action="f1.cgi" method="GET">
+<hr /> 
+<form name="f1" action="f1.cgi">
 <p>source_filesystem =<select size="8" name="source_filesystem">
 <option>none</option>
-<option selected >iso9660</option>
+<option selected="yes" >iso9660</option>
 <option>ext2</option>
 <option>ext3</option>
 <option>jfs</option>
@@ -94,8 +102,8 @@
 </select></p>
 <p><input type="submit" /></p>
 </form>
-<hr>
-<form name="f1" action="f1.cgi" method="GET">
+<hr />
+<form name="f1" action="f1.cgi">
 <p> source_dir =<input type="text" name="source_dir" value="/" /></p>
 <p><input type="submit" /></p>
 </form>
@@ -103,87 +111,190 @@
 </tr>
 <tr>
 <td>
-<form name="f1" action="f1.cgi" method="GET">
-net_device =<input type="text" name="net_device" value="$net_device" />
+<form name="f1" action="f1.cgi">
+<p>net_device: example: eth0</p>
+<p>net_device =<input type="text" name="net_device" value="$net_device" /></p>
+
+<p>net_device_module: examples: ne2k-pci, auto</p>
 <p>net_device_module =<input type="text" name="net_device_module" value="$net_device_module" /></p>
+
+<p>net_device_options: ex: io=0x300</p>
 <p>net_device_module_options =<input type="text" name="net_device_module_options" value="$net_device_module_options" /></p>
+
+<p>net_ipaddr: ex: 192.168.1.1</p>
 <p>net_device_ipaddr =<input type="text" name="net_device_ipaddr" value="$net_device_ipaddr" /></p>
+
+<p>net_prefix: ex: 24</p>
 <p>net_device_prefix =<input type="text" name="net_device_prefix" value="$net_device_prefix" /></p>
+
+<p>net_gateway: ex: 192.168.1.254, or "" when none</p>
 <p>net_gateway =<input type="text" name="net_device_gateway" value="$net_gateway" /></p>
+
+<p>net_dns: space separated list of (up to 3) IP's of DNS'es</p>
 <p>net_dns =<input type="text" name="net_dns" value="$net_dns" /></p>
+
+<p>net_v6: yes, no or auto : whatever to use IPv6 for interfaces 
+         configuration. If auto it is determined based upon 
+         net_ipaddr.</p>
+				 
 <p>net_v6 =<input type="text" name="net_v6" value="$net_v6" /></p>
+<p>net_proxy: http/ftp proxy to be used during installation. It is an
+            an URL. Examples: "http://squid.foobar.com:3128/",
+            "http://user:pass@squid.foobar.com:3128/"
+            NOTE: it is used only if it's set to something else then 
+            "" or "none". snarf is used for all file transfers then
+            (even rpms for poldek).</p>
 <p>net_proxy =<input type="text" name="net_proxy" value="$net_proxy" /></p>
+
 <p><input type="submit" /></p>
 </form>
 </td>
 <td></td>
 </tr>
 <tr>
-<td><form name="f1" action="f1.cgi" method="GET">
-scsi_hostadapters =<input type="text" name="scsi_hostadapter" value="$scsi_hostadapters" />
+<td><form name="f1" action="f1.cgi">
+<p>space delimited SCSI hostadapters (can be auto, for PCI SCSI card)<br />
+hardware raid modules don't need to be listed here</p>
+<p>scsi_hostadapters =<input type="text" name="scsi_hostadapters" value="$scsi_hostadapters" /></p>
 <p><input type="submit" /></p>
 </form>
 </td>
 <td></td>
 </tr>
 <tr>
-<td><form name="f1" action="f1.cgi" method="GET">
-pcmcia_controller =<input type="text" name="pcmcia_controller" value="$pcmcia_controller" />
+<td><form name="f1" action="f1.cgi">
+<p>PCMCIA controller (can be auto)</p>
+<p>pcmcia_controller =<input type="text" name="pcmcia_controller" value="$pcmcia_controller" /></p>
 <p><input type="submit"/></p>
 </form>
-</td>			
+</td>
 <td></td>
 </tr>
 <tr>
-<td><form name="f1" action="f1.cgi" method="GET">
-dest_devices =<input type="text" name="dest_devices" value="$dest_devices" />
+<td><form name="f1" action="f1.cgi">
+<p>dest_devices: space delimited list of target devices 
+   (like '/dev/hda /dev/sdb')</p>
+<p>dest_devices =<input type="text" name="dest_devices" value="$dest_devices" /></p>
+
+<p>dest_devices_actions: space delimited list, one of items below per device:
+<ul>
+<li>make_new</li>
+<li>use_existing</li>
+</ul></p>
 <p>dest_devices_actions =<input type="text" name="dest_devices_actions" value="$dest_devices_actions" /></p>
+
 <p><input type="submit" /></p>
 </form>
 </td>
 <td></td>
 </tr>
 <tr>
-<td><form name="f1" action="f1.cgi" method="GET">
-dest_part1_device =<input type="text" name="dest_part1_device" value="$dest_part1_device" />
-<p>dest_part1_size =<input type="text" name="dest_part1_size" value="$dest_part1_size" /></p>
-<p>dest_part1_filesystem =<input type="text" name="dest_part1_filesystem" value="$dest_part1_filesystem" /></p>
-<p>dest_part1_format_partition =<input type="text" name="dest_part1_format_partition" value="$dest_part1_format_partition" /></p>
-<p>dest_part1_mnt_point =<input type="text" name="dest_part1_mnt_point" value="$dest_part1_mnt_point" /></p>
-<p>dest_part1_options =<input type="text" name="dest_part1_options" value="$dest_part1_options" /></p>
-<p>dest_part1_format_options =<input type="text" name="dest_part1_format_options" value="$dest_part1_format_options" /></p>
-<p>dest_part2_device =<input type="text" name="dest_part2_device" value="$dest_part2_device" /></p>
-<p>dest_part2_size =<input type="text" name="dest_part2_size" value="$dest_part2_size" /></p>
-<p>dest_part2_filesystem =<input type="text" name="dest_part2_filesystem" value="$dest_part2_filesystem" /></p>
-<p>dest_part2_format_partition =<input type="text" name="dest_part2_format_partition" value="$dest_part2_format_partition" /></p>
-<p>dest_part2_options =<input type="text" name="dest_part2_options" value="$dest_part2_options" /></p>
-<p>dest_part2_format_options =<input type="text" name="dest_part2_format_options" value="$dest_part2_format_options" /></p>
-<p>dest_part3_device =<input type="text" name="dest_part3_device" value="$dest_part3_device" /></p>
-<p>dest_part3_size =<input type="text" name="dest_part3_size" value="$dest_part3_size" /></p>
-<p>dest_part3_filesystem =<input type="text" name="dest_part3_filesystem" value="$dest_part3_filesystem" /></p>
-<p>dest_part3_format_partition =<input type="text" name="dest_part3_format_partition" value="$dest_part3_format_partition" /></p>
-<p>dest_part3_options =<input type="text" name="dest_part3_options" value="$dest_part3_options" /></p>
-<p>dest_part3_format_options =<input type="text" name="dest_part3_format_options" value="$dest_part3_format_options" /></p>
+<td><form name="f1" action="f1.cgi">
+<p>dest_partID_VAL: ID is positive integer, VAL is one of
+<ul>
+<li>device: ex: /dev/hda7 (for use_existing), /dev/hda (for make_new)</li>
+<li>size: ex: 177 (177 megabytes), 50% of all, 100% of free</li>
+<li>filesystem: swap, ext2, reiserfs, jfs, ext3, xfs, md</li>
+<li>format_partition: yes or no</li>
+<li>mnt_point: ex: '/var/spool', '/', '' allowed for swaps</li>
+<li>options: options for fstab (ex: 'noexec')</li>
+<li>format_options: options for mkfs</li>
+</ul></p>
+<p>
+it's not allowed to have gaps in partition numbering, i.e.
+to have dest_part1_device, dest_part2_device and dest_part4_device
+set (while no dest_part3_device).
+Numeration starts at 1.
+</p>
+`for i in 1 2 3
+do
+	v1=dest_part$i
+	for j in device size filesystem format_partition mnt_points options
+	do
+		v2=_$j
+		v3=$v1$v2
+		eval v=$"$v3"
+		echo "<p>$v3 =<input type=\"text\" name=\"$v3\" value=\"$v\" /></p>"
+	done
+done
+i=4
+v1=dest_part$i
+v2=_device
+v3=$v1$v2
+eval v=$"$v3"
+while [ "x$v" != "x" ]
+do
+	echo "<p>$v3 =<input type=\"text\" name=\"$v3\" value=\"$v\" /></p>"
+	for j in size filesystem format_partition mnt_points options
+	do
+		v2=_$j
+		v3=$v1$v2
+		eval v=$"$v3"
+		echo "<p>$v3 =<input type=\"text\" name=\"$v3\" value=\"$v\" /></p>"
+	done
+	i=$(expr $i + 1)
+	v1=dest_part$i
+	v2=_device
+	v3=$v1$v2
+	eval v=$"$v3"
+done`	
 <p><input type="submit" /></p>
 </form>
 </td>
 <td></td>
 </tr>
 <tr>
-<td><form name="f1" action="f1.cgi" method="GET">
-pkgs_installer =<input type="text" name="pkgs_installer" value="$pkgs_installer" />
-<p>pkgs_install_doc =<input type="text" name="pkgs_install_doc" value="$pkgs_install_doc" /></p>
+<td><form name="f1" action="f1.cgi">
+<p>pkgs_installer: one of poldek, wuch, apt. Only poldek 
+                supported at the very moment</p>
+<p>pkgs_installer =<input type="text" name="pkgs_installer" value="$pkgs_installer" /></p>
+
+<p>pkgs_install_docs: yes or no. Whatever to install documentation for
+                    packages.</p>
+<p>pkgs_install_docs =<input type="text" name="pkgs_install_docs" value="$pkgs_install_docs" /></p>
+
+<p>pkgs_install_langs: %_install_langs rpm macro (all, pl:pl_PL:en:en_US)</p>
 <p>pkgs_install_langs =<input type="text" name="pkgs_install_langs" value="$pkgs_install_langs" /></p>
+
+<p>pkgs_cpus: number or "auto". Number of CPUs in installed system. If more            then one -- install kernel-smp instead of normal. In future
+            we might do some configuration tweaks for SMP.</p>
 <p>pkgs_cpus =<input type="text" name="pkgs_cpus" value="$pkgs_cpus" /></p>
+
 <p><input type="submit" /></p>
 </form>
 </td>
 <td></td>
 </tr>
 <tr>
-<td><form name="f1" action="f1.cgi" method="GET">
-boot_loader=<input type="text" name="boot_loader" value="$boot_loader"
+<td><form name="f1" action="f1.cgi">
+<p>boot loader to install, possible values:
+<ul>
+<li>lilo - generate /etc/lilo.conf, and run lilo</li>
+<li>rc-boot - generate configs for rc-boot, you need to select one of
+    lilo or grub packages to actually have some bootloader (otherwise
+    poldek will do it for you, randomly :^)</li>
+<li>none (or empty) - don't install bootloader</li>
+</ul>
+</p>
+<p>boot_loader =<input type="text" name="boot_loader" value="$boot_loader" /></p>
+
+<p>Device to install bootloader on. If it is set to "auto", then device part
+(i.e. without partition number) of /boot (or / if no /boot) partition is 
+taken.</p>
 <p>boot_loader_device =<input type="text" name="boot_loader_device" value="$boot_loader_device" /></p>
+
+<p>other systems on this box, space delimited list of entries
+<ul>
+<li>bsd:LABEL:ROOT_DEVICE - bsd, bootloader installed on ROOT_DEVICE</li>
+<li>dos:LABEL:ROOT_DEVICE - same, for dos or windows</li>
+<li>linux:LABEL:KERNEL:[INITRD:]ROOT_DEVICE - KERNEL is sth like 
+/boot/vmlinuz-2.4.13-debian</li>
+</ul>
+example:<br />
+bsd:obsd:/dev/hdb3 dos:winda:/dev/hda2 <br />
+linux:debian:/boot/vmlinuz-debian:/dev/hda3 </br />
+linux:old-pld:/boot/initrd-pld-old:/boot/vmlinuz-pld-old:/dev/hdc3 <br />
+</p>
 <p>boot_loader_other =<input type="text" name="boot_loader_other" value="$boot_loader_other" /></p>
 <p><input type="submit" /></p>
 </form>
@@ -194,4 +305,5 @@
 </table>
 </body>
 </html>
+
 EOF



Więcej informacji o liście dyskusyjnej pld-installer