1
0
Fork 0

Add stage 3

This commit is contained in:
Braiden Vasco 2017-07-02 04:23:35 +00:00
parent aea29f6f36
commit 225e561ae9
3 changed files with 8 additions and 0 deletions

View file

@ -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
View file

@ -0,0 +1 @@
IMG_SUFFIX="-secure"

4
stage3/prerun.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash -e
if [ ! -d ${ROOTFS_DIR} ]; then
copy_previous
fi