Deleted Added
full compact
README.TEMPLATING (222179) README.TEMPLATING (229831)
1IMPORTANT NOTE:
2
3As of Feb. 11, 2002 (and indeed, for quite some time before that),
4the /etc/rc.diskless{1,2} scripts support a slightly different
5diskless boot process than the one documented in the rest of
6this file (which is 3 years old).
7
8I am not deleting the information below because it contains some
9useful background information on diskless operation, but for the
10actual details you should look at /etc/rc.diskless1, /etc/rc.diskless2,
11and the /usr/share/examples/diskless/clone_root script which can
12be useful to set up clients and server for diskless boot.
13
1IMPORTANT NOTE:
2
3As of Feb. 11, 2002 (and indeed, for quite some time before that),
4the /etc/rc.diskless{1,2} scripts support a slightly different
5diskless boot process than the one documented in the rest of
6this file (which is 3 years old).
7
8I am not deleting the information below because it contains some
9useful background information on diskless operation, but for the
10actual details you should look at /etc/rc.diskless1, /etc/rc.diskless2,
11and the /usr/share/examples/diskless/clone_root script which can
12be useful to set up clients and server for diskless boot.
13
14--- $FreeBSD: head/share/examples/diskless/README.TEMPLATING 222179 2011-05-22 14:23:48Z uqs $ ---
14--- $FreeBSD: head/share/examples/diskless/README.TEMPLATING 229831 2012-01-09 00:48:19Z eadler $ ---
15------------------------------------------------------------------------
16
17 TEMPLATING machine configurations
18
19 Matthew Dillon
20 dillon@backplane.com
21
22 This document describes a general mechanism by which you can template

--- 66 unchanged lines hidden (view full) ---

89
90 /usr/lost+found
91 /usr/home ( note 4 )
92 /usr/crash ( note 5 )
93 /usr/obj ( note 5 )
94 /usr/ports ( note 5 )
95 /usr/src ( note 5 )
96 /usr/local/crack ( note 5 )
15------------------------------------------------------------------------
16
17 TEMPLATING machine configurations
18
19 Matthew Dillon
20 dillon@backplane.com
21
22 This document describes a general mechanism by which you can template

--- 66 unchanged lines hidden (view full) ---

89
90 /usr/lost+found
91 /usr/home ( note 4 )
92 /usr/crash ( note 5 )
93 /usr/obj ( note 5 )
94 /usr/ports ( note 5 )
95 /usr/src ( note 5 )
96 /usr/local/crack ( note 5 )
97 /usr/X11R6/lib/X11/xdm/xdm-errors ( note 6 )
98 /usr/X11R6/lib/X11/xdm/xdm-pid ( note 6 )
97 /usr/local/lib/X11/xdm/xdm-errors ( note 6 )
98 /usr/local/lib/X11/xdm/xdm-pid ( note 6 )
99 /usr/local/etc/ssh_host_key ( note 6 )
100 /usr/local/etc/ssh_host_key.pub ( note 6 )
101 /usr/local/etc/ssh_random_seed ( note 6 )
102
103 /conf/ME ( note 7 )
104
105 note 2: You typically want to update kernels manually and *NOT*
106 template them as a safety measure. This also allows you to run

--- 8 unchanged lines hidden (view full) ---

115 thus would not fall under the template, but as a safety measure
116 the template copier refuse to copy directories named 'home'.
117
118 note 5: These are directories that are as often created directly on
119 /usr as they are separately-mounted partitions. You typically
120 do not want to template such directories.
121
122 note 6: Note that you can solve the problem of xdm and sshd creating
99 /usr/local/etc/ssh_host_key ( note 6 )
100 /usr/local/etc/ssh_host_key.pub ( note 6 )
101 /usr/local/etc/ssh_random_seed ( note 6 )
102
103 /conf/ME ( note 7 )
104
105 note 2: You typically want to update kernels manually and *NOT*
106 template them as a safety measure. This also allows you to run

--- 8 unchanged lines hidden (view full) ---

115 thus would not fall under the template, but as a safety measure
116 the template copier refuse to copy directories named 'home'.
117
118 note 5: These are directories that are as often created directly on
119 /usr as they are separately-mounted partitions. You typically
120 do not want to template such directories.
121
122 note 6: Note that you can solve the problem of xdm and sshd creating
123 files in /usr. With xdm, edit /usr/X11R6/lib/xdm/xdm-config
123 files in /usr. With xdm, edit /usr/local/lib/xdm/xdm-config
124 and change the errorLogFile and pidFile config lines.
125
126 With sshd, add 'HostKey' and 'RandomSeed' directives to specify
127 /var/db for the location of the host key and run-time sshd
128 random seed:
129
130 HostKey /var/db/ssh_host_key
131 RandomSeed /var/db/ssh_random_seed

--- 170 unchanged lines hidden ---
124 and change the errorLogFile and pidFile config lines.
125
126 With sshd, add 'HostKey' and 'RandomSeed' directives to specify
127 /var/db for the location of the host key and run-time sshd
128 random seed:
129
130 HostKey /var/db/ssh_host_key
131 RandomSeed /var/db/ssh_random_seed

--- 170 unchanged lines hidden ---