Add stage 3
This commit is contained in:
parent
aea29f6f36
commit
225e561ae9
3 changed files with 8 additions and 0 deletions
|
@ -61,6 +61,9 @@ maintenance and allows for more easy customization.
|
|||
you were looking for something between truly minimal and Raspbian-lite,
|
||||
here's where you start trimming.
|
||||
|
||||
- **Stage 3** - secure system. This stage configures SSH do disallow root
|
||||
login, adds iptables rules, etc.
|
||||
|
||||
### Stage specification
|
||||
|
||||
If you wish to build up to a specified stage (such as building up to stage 2
|
||||
|
|
1
stage3/EXPORT_IMAGE
Normal file
1
stage3/EXPORT_IMAGE
Normal file
|
@ -0,0 +1 @@
|
|||
IMG_SUFFIX="-secure"
|
4
stage3/prerun.sh
Executable file
4
stage3/prerun.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash -e
|
||||
if [ ! -d ${ROOTFS_DIR} ]; then
|
||||
copy_previous
|
||||
fi
|
Reference in a new issue