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>
|
<hostid>corbieres</hostid> uses <acronym>PXE</acronym>:</para>
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
default-lease-time 600;
|
default-lease-time 600;
|
||||||
max-lease-time 7200;
|
max-lease-time 7200;
|
||||||
authoritative;
|
authoritative;
|
||||||
|
|
||||||
option domain-name "example.com";
|
option domain-name "example.com";
|
||||||
option domain-name-servers 192.168.4.1;
|
option domain-name-servers 192.168.4.1;
|
||||||
option routers 192.168.4.1;
|
option routers 192.168.4.1;
|
||||||
|
|
||||||
subnet 192.168.4.0 netmask 255.255.255.0 {
|
subnet 192.168.4.0 netmask 255.255.255.0 {
|
||||||
use-host-decl-names on; <co id="co-dhcp-host-name">
|
use-host-decl-names on; <co id="co-dhcp-host-name">
|
||||||
option subnet-mask 255.255.255.0;
|
option subnet-mask 255.255.255.0;
|
||||||
option broadcast-address 192.168.4.255;
|
option broadcast-address 192.168.4.255;
|
||||||
|
|
||||||
host margaux {
|
host margaux {
|
||||||
hardware ethernet 01:23:45:67:89:ab;
|
hardware ethernet 01:23:45:67:89:ab;
|
||||||
fixed-address margaux.example.com;
|
fixed-address margaux.example.com;
|
||||||
next-server 192.168.4.4; <co id="co-dhcp-next-server">
|
next-server 192.168.4.4; <co id="co-dhcp-next-server">
|
||||||
filename "/data/misc/kernel.diskless"; <co id="co-dhcp-filename">
|
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">
|
option root-path "192.168.4.4:/data/misc/diskless"; <co id="co-dhcp-root-path">
|
||||||
}
|
}
|
||||||
host corbieres {
|
host corbieres {
|
||||||
hardware ethernet 00:02:b3:27:62:df;
|
hardware ethernet 00:02:b3:27:62:df;
|
||||||
fixed-address corbieres.example.com;
|
fixed-address corbieres.example.com;
|
||||||
next-server 192.168.4.4;
|
next-server 192.168.4.4;
|
||||||
filename "pxeboot";
|
filename "pxeboot";
|
||||||
option root-path "192.168.4.4:/data/misc/diskless";
|
option root-path "192.168.4.4:/data/misc/diskless";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
|
||||||
<calloutlist>
|
<calloutlist>
|
||||||
|
@ -2721,16 +2721,16 @@ Exports list on foobar:
|
||||||
that it exists in the base system.</para>
|
that it exists in the base system.</para>
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
.def100:\
|
.def100:\
|
||||||
:hn:ht=1:sa=192.168.4.4:vm=rfc1048:\
|
:hn:ht=1:sa=192.168.4.4:vm=rfc1048:\
|
||||||
:sm=255.255.255.0:\
|
:sm=255.255.255.0:\
|
||||||
:ds=192.168.4.1:\
|
:ds=192.168.4.1:\
|
||||||
:gw=192.168.4.1:\
|
:gw=192.168.4.1:\
|
||||||
:hd="/tftpboot":\
|
:hd="/tftpboot":\
|
||||||
:bf="/kernel.diskless":\
|
:bf="/kernel.diskless":\
|
||||||
:rp="192.168.4.4:/data/misc/diskless":
|
:rp="192.168.4.4:/data/misc/diskless":
|
||||||
|
|
||||||
margaux:ha=0123456789ab:tc=.def100
|
margaux:ha=0123456789ab:tc=.def100
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
|
@ -2777,7 +2777,7 @@ Exports list on foobar:
|
||||||
type:</para>
|
type:</para>
|
||||||
|
|
||||||
<screen>
|
<screen>
|
||||||
&prompt.root; <userinput>gmake bin32/<replaceable>devicetype</replaceable>.fd0</userinput>
|
&prompt.root; <userinput>gmake bin32/<replaceable>devicetype</replaceable>.fd0</userinput>
|
||||||
</screen>
|
</screen>
|
||||||
|
|
||||||
<para><replaceable>devicetype</replaceable> depends on the type of
|
<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>
|
with the following options (in addition to the usual ones):</para>
|
||||||
|
|
||||||
<programlisting>
|
<programlisting>
|
||||||
options BOOTP # Use BOOTP to obtain IP address/hostname
|
options BOOTP # Use BOOTP to obtain IP address/hostname
|
||||||
options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info
|
options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
|
||||||
<para>You may also want to use <literal>BOOTP_NFSV3</literal>,
|
<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
|
<step><para>Add the following lines to
|
||||||
<filename>dhcpd.conf</filename>:</para>
|
<filename>dhcpd.conf</filename>:</para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
# Global section
|
# Global section
|
||||||
option swap-path code 128 = string;
|
option swap-path code 128 = string;
|
||||||
option swap-size code 129 = integer 32;
|
option swap-size code 129 = integer 32;
|
||||||
|
|
||||||
host margaux {
|
host margaux {
|
||||||
... # Standard lines, see above
|
... # Standard lines, see above
|
||||||
option swap-path <replaceable>"192.168.4.4:/netswapvolume/netswap"</replaceable>;
|
option swap-path <replaceable>"192.168.4.4:/netswapvolume/netswap"</replaceable>;
|
||||||
option swap-size <replaceable>64000</replaceable>;
|
option swap-size <replaceable>64000</replaceable>;
|
||||||
}
|
}
|
||||||
</programlisting>
|
</programlisting>
|
||||||
|
|
||||||
<para><literal>swap-path</literal> is the path to a directory
|
<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
|
<para>On the <acronym>NFS</acronym> swap file server, create the swap
|
||||||
file(s)</para>
|
file(s)</para>
|
||||||
<screen>
|
<screen>
|
||||||
&prompt.root; <userinput>mkdir <replaceable>/netswapvolume/netswap</replaceable></userinput>
|
&prompt.root; <userinput>mkdir <replaceable>/netswapvolume/netswap</replaceable></userinput>
|
||||||
&prompt.root; <userinput>cd <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>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>chmod 0600 swap.<replaceable>192.168.4.6</replaceable></userinput>
|
||||||
</screen>
|
</screen>
|
||||||
<para><replaceable>192.168.4.6</replaceable> is the IP address
|
<para><replaceable>192.168.4.6</replaceable> is the IP address
|
||||||
for the diskless client.</para>
|
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
|
<para>On the <acronym>NFS</acronym> swap file server, add the following line to
|
||||||
<filename>/etc/exports</filename>:</para>
|
<filename>/etc/exports</filename>:</para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
<replaceable>/netswapvolume</replaceable> -maproot=0:10 -alldirs <replaceable>margaux corbieres</replaceable>
|
<replaceable>/netswapvolume</replaceable> -maproot=0:10 -alldirs <replaceable>margaux corbieres</replaceable>
|
||||||
</programlisting>
|
</programlisting>
|
||||||
<para>Then tell <application>mountd</application> to reread the
|
<para>Then tell <application>mountd</application> to reread the
|
||||||
exports file, as above.</para>
|
exports file, as above.</para>
|
||||||
|
|
Loading…
Reference in a new issue