Whitespace fixes that change rendering (*not* a normal whitespace cleanup).
Approved by: blackend (mentor)
This commit is contained in:
parent
50bdcb4b88
commit
85c8ce4754
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=20323
1 changed files with 50 additions and 50 deletions
|
@ -2622,34 +2622,34 @@ Exports list on foobar:
|
|||
<hostid>corbieres</hostid> uses <acronym>PXE</acronym>:</para>
|
||||
|
||||
<programlisting>
|
||||
default-lease-time 600;
|
||||
max-lease-time 7200;
|
||||
authoritative;
|
||||
default-lease-time 600;
|
||||
max-lease-time 7200;
|
||||
authoritative;
|
||||
|
||||
option domain-name "example.com";
|
||||
option domain-name-servers 192.168.4.1;
|
||||
option routers 192.168.4.1;
|
||||
option domain-name "example.com";
|
||||
option domain-name-servers 192.168.4.1;
|
||||
option routers 192.168.4.1;
|
||||
|
||||
subnet 192.168.4.0 netmask 255.255.255.0 {
|
||||
use-host-decl-names on; <co id="co-dhcp-host-name">
|
||||
option subnet-mask 255.255.255.0;
|
||||
option broadcast-address 192.168.4.255;
|
||||
subnet 192.168.4.0 netmask 255.255.255.0 {
|
||||
use-host-decl-names on; <co id="co-dhcp-host-name">
|
||||
option subnet-mask 255.255.255.0;
|
||||
option broadcast-address 192.168.4.255;
|
||||
|
||||
host margaux {
|
||||
hardware ethernet 01:23:45:67:89:ab;
|
||||
fixed-address margaux.example.com;
|
||||
next-server 192.168.4.4; <co id="co-dhcp-next-server">
|
||||
filename "/data/misc/kernel.diskless"; <co id="co-dhcp-filename">
|
||||
option root-path "192.168.4.4:/data/misc/diskless"; <co id="co-dhcp-root-path">
|
||||
}
|
||||
host corbieres {
|
||||
hardware ethernet 00:02:b3:27:62:df;
|
||||
fixed-address corbieres.example.com;
|
||||
next-server 192.168.4.4;
|
||||
filename "pxeboot";
|
||||
option root-path "192.168.4.4:/data/misc/diskless";
|
||||
}
|
||||
}
|
||||
host margaux {
|
||||
hardware ethernet 01:23:45:67:89:ab;
|
||||
fixed-address margaux.example.com;
|
||||
next-server 192.168.4.4; <co id="co-dhcp-next-server">
|
||||
filename "/data/misc/kernel.diskless"; <co id="co-dhcp-filename">
|
||||
option root-path "192.168.4.4:/data/misc/diskless"; <co id="co-dhcp-root-path">
|
||||
}
|
||||
host corbieres {
|
||||
hardware ethernet 00:02:b3:27:62:df;
|
||||
fixed-address corbieres.example.com;
|
||||
next-server 192.168.4.4;
|
||||
filename "pxeboot";
|
||||
option root-path "192.168.4.4:/data/misc/diskless";
|
||||
}
|
||||
}
|
||||
</programlisting>
|
||||
|
||||
<calloutlist>
|
||||
|
@ -2721,16 +2721,16 @@ Exports list on foobar:
|
|||
that it exists in the base system.</para>
|
||||
|
||||
<programlisting>
|
||||
.def100:\
|
||||
:hn:ht=1:sa=192.168.4.4:vm=rfc1048:\
|
||||
:sm=255.255.255.0:\
|
||||
:ds=192.168.4.1:\
|
||||
:gw=192.168.4.1:\
|
||||
:hd="/tftpboot":\
|
||||
:bf="/kernel.diskless":\
|
||||
:rp="192.168.4.4:/data/misc/diskless":
|
||||
.def100:\
|
||||
:hn:ht=1:sa=192.168.4.4:vm=rfc1048:\
|
||||
:sm=255.255.255.0:\
|
||||
:ds=192.168.4.1:\
|
||||
:gw=192.168.4.1:\
|
||||
:hd="/tftpboot":\
|
||||
:bf="/kernel.diskless":\
|
||||
:rp="192.168.4.4:/data/misc/diskless":
|
||||
|
||||
margaux:ha=0123456789ab:tc=.def100
|
||||
margaux:ha=0123456789ab:tc=.def100
|
||||
</programlisting>
|
||||
</sect3>
|
||||
|
||||
|
@ -2777,7 +2777,7 @@ Exports list on foobar:
|
|||
type:</para>
|
||||
|
||||
<screen>
|
||||
&prompt.root; <userinput>gmake bin32/<replaceable>devicetype</replaceable>.fd0</userinput>
|
||||
&prompt.root; <userinput>gmake bin32/<replaceable>devicetype</replaceable>.fd0</userinput>
|
||||
</screen>
|
||||
|
||||
<para><replaceable>devicetype</replaceable> depends on the type of
|
||||
|
@ -2899,8 +2899,8 @@ Exports list on foobar:
|
|||
with the following options (in addition to the usual ones):</para>
|
||||
|
||||
<programlisting>
|
||||
options BOOTP # Use BOOTP to obtain IP address/hostname
|
||||
options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info
|
||||
options BOOTP # Use BOOTP to obtain IP address/hostname
|
||||
options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info
|
||||
</programlisting>
|
||||
|
||||
<para>You may also want to use <literal>BOOTP_NFSV3</literal>,
|
||||
|
@ -3029,15 +3029,15 @@ cd /usr/src/etc; make distribution</programlisting>
|
|||
<step><para>Add the following lines to
|
||||
<filename>dhcpd.conf</filename>:</para>
|
||||
<programlisting>
|
||||
# Global section
|
||||
option swap-path code 128 = string;
|
||||
option swap-size code 129 = integer 32;
|
||||
# Global section
|
||||
option swap-path code 128 = string;
|
||||
option swap-size code 129 = integer 32;
|
||||
|
||||
host margaux {
|
||||
... # Standard lines, see above
|
||||
option swap-path <replaceable>"192.168.4.4:/netswapvolume/netswap"</replaceable>;
|
||||
option swap-size <replaceable>64000</replaceable>;
|
||||
}
|
||||
host margaux {
|
||||
... # Standard lines, see above
|
||||
option swap-path <replaceable>"192.168.4.4:/netswapvolume/netswap"</replaceable>;
|
||||
option swap-size <replaceable>64000</replaceable>;
|
||||
}
|
||||
</programlisting>
|
||||
|
||||
<para><literal>swap-path</literal> is the path to a directory
|
||||
|
@ -3060,10 +3060,10 @@ cd /usr/src/etc; make distribution</programlisting>
|
|||
<para>On the <acronym>NFS</acronym> swap file server, create the swap
|
||||
file(s)</para>
|
||||
<screen>
|
||||
&prompt.root; <userinput>mkdir <replaceable>/netswapvolume/netswap</replaceable></userinput>
|
||||
&prompt.root; <userinput>cd <replaceable>/netswapvolume/netswap</replaceable></userinput>
|
||||
&prompt.root; <userinput>dd if=/dev/zero bs=1024 count=<replaceable>64000</replaceable> of=swap.<replaceable>192.168.4.6</replaceable></userinput>
|
||||
&prompt.root; <userinput>chmod 0600 swap.<replaceable>192.168.4.6</replaceable></userinput>
|
||||
&prompt.root; <userinput>mkdir <replaceable>/netswapvolume/netswap</replaceable></userinput>
|
||||
&prompt.root; <userinput>cd <replaceable>/netswapvolume/netswap</replaceable></userinput>
|
||||
&prompt.root; <userinput>dd if=/dev/zero bs=1024 count=<replaceable>64000</replaceable> of=swap.<replaceable>192.168.4.6</replaceable></userinput>
|
||||
&prompt.root; <userinput>chmod 0600 swap.<replaceable>192.168.4.6</replaceable></userinput>
|
||||
</screen>
|
||||
<para><replaceable>192.168.4.6</replaceable> is the IP address
|
||||
for the diskless client.</para>
|
||||
|
@ -3073,7 +3073,7 @@ cd /usr/src/etc; make distribution</programlisting>
|
|||
<para>On the <acronym>NFS</acronym> swap file server, add the following line to
|
||||
<filename>/etc/exports</filename>:</para>
|
||||
<programlisting>
|
||||
<replaceable>/netswapvolume</replaceable> -maproot=0:10 -alldirs <replaceable>margaux corbieres</replaceable>
|
||||
<replaceable>/netswapvolume</replaceable> -maproot=0:10 -alldirs <replaceable>margaux corbieres</replaceable>
|
||||
</programlisting>
|
||||
<para>Then tell <application>mountd</application> to reread the
|
||||
exports file, as above.</para>
|
||||
|
|
Loading…
Reference in a new issue