lars
6fec846638
comments for development actions added to cbox.sh source local configure scripts examples for local configure scripts added: - set_root_pw - import_authorized_keys
25 lines
966 B
Text
25 lines
966 B
Text
1) Overview
|
|
the files in this directory are examples specific hook scripts to change the
|
|
configuration of the box
|
|
|
|
2) How to use these scripts
|
|
Copy the scripts, you would like to use into local.conf.d/custom-configure.d.
|
|
They will be sourced in alphabetic order AFTER the default configuration of the
|
|
cryptobox.
|
|
|
|
3) The examples
|
|
|
|
set_root_pw
|
|
- replace the empty root password (the default) with a choosen password
|
|
- useful if your development cryptobox:
|
|
- is located in an insecure environment
|
|
- or your development team is geographically distributed, so the
|
|
cryptobox for testing has to be publicly available
|
|
|
|
import_authorized_keys
|
|
- create a new rsa key (local.conf.d/id_rsa) and copy the public
|
|
key to the working image directory
|
|
- IMPORTANT: you have to activate the 'IdentityFile' setting in
|
|
local.conf.d/ssh-options to enable this feature
|
|
- this is useful, if you secured the development cryptobox with a
|
|
password (see 'set_root_pw')
|