README.TEMPLATING (130786) | README.TEMPLATING (222179) |
---|---|
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 130786 2004-06-20 13:17:37Z mpp $ --- | 14--- $FreeBSD: head/share/examples/diskless/README.TEMPLATING 222179 2011-05-22 14:23:48Z uqs $ --- |
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 --- 108 unchanged lines hidden (view full) --- 131 RandomSeed /var/db/ssh_random_seed 132 133 note 7: In this example, /conf/ME is the machine customizer and must 134 be pointed to the /conf/<full-host-name>/ directory, which is 135 different for each machine. Thus, the /conf/ME softlink 136 should never be overwritten by the templating copy. 137 138 | 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 --- 108 unchanged lines hidden (view full) --- 131 RandomSeed /var/db/ssh_random_seed 132 133 note 7: In this example, /conf/ME is the machine customizer and must 134 be pointed to the /conf/<full-host-name>/ directory, which is 135 different for each machine. Thus, the /conf/ME softlink 136 should never be overwritten by the templating copy. 137 138 |
139 TYPICAL CUSTOMIZED CONFIGRATION SOFTLINKS | 139 TYPICAL CUSTOMIZED CONFIGURATION SOFTLINKS |
140 141 The following files typically need to be turned into softlinks 142 to /conf/ME/<filename>: 143 144 /etc/ccd.conf -> /conf/ME/ccd.conf 145 /etc/ipfw.conf ... 146 /etc/fstab 147 /etc/motd --- 108 unchanged lines hidden (view full) --- 256 # /root/.ssh/.cpignore contains 257 random_seed 258 known_hosts 259 authorized_keys 260 identity 261 identity.pub 262 263 WHEN INITIALLY CONVERTING A TARGET MACHINE TO USE TEMPLATING, ALWAYS | 140 141 The following files typically need to be turned into softlinks 142 to /conf/ME/<filename>: 143 144 /etc/ccd.conf -> /conf/ME/ccd.conf 145 /etc/ipfw.conf ... 146 /etc/fstab 147 /etc/motd --- 108 unchanged lines hidden (view full) --- 256 # /root/.ssh/.cpignore contains 257 random_seed 258 known_hosts 259 authorized_keys 260 identity 261 identity.pub 262 263 WHEN INITIALLY CONVERTING A TARGET MACHINE TO USE TEMPLATING, ALWAYS |
264 MAKE A FULL BACKUP OF THE TARGET MACHINE FIRST! You may accidently delete 265 files on the target during the conversion due to forgetting to enter 266 items into appropriate .cpignore files on the source. | 264 MAKE A FULL BACKUP OF THE TARGET MACHINE FIRST! You may accidentally 265 delete files on the target during the conversion due to forgetting to 266 enter items into appropriate .cpignore files on the source. |
267 268 SECURITY CONSIDERATIONS WITH NFS ROOT EXPORT FROM TEMPLATE MACHINE 269 SECURITY CONSIDERATIONS WITH NFS USR EXPORT FROM TEMPLATE MACHINE 270 271 There are some serious security considerations that must be taken into 272 account when exporting / and /usr on the template machine. 273 274 * only export read-only --- 27 unchanged lines hidden --- | 267 268 SECURITY CONSIDERATIONS WITH NFS ROOT EXPORT FROM TEMPLATE MACHINE 269 SECURITY CONSIDERATIONS WITH NFS USR EXPORT FROM TEMPLATE MACHINE 270 271 There are some serious security considerations that must be taken into 272 account when exporting / and /usr on the template machine. 273 274 * only export read-only --- 27 unchanged lines hidden --- |