Add code block in README

This commit is contained in:
nemo 2019-06-23 16:27:29 +02:00
parent 3b3e7d339d
commit ceb08f9c6a

View file

@ -4,9 +4,11 @@ Check system configuration for a gentoo machine (VM or PHYSICAL) based on GRIFON
It's a Gentoo OS configuration recipe. This script normally doesn't modify anything on the system. It's a Gentoo OS configuration recipe. This script normally doesn't modify anything on the system.
To use (with root user) : To use (with root user) :
```
mv ./vars.example ./vars.sh mv ./vars.example ./vars.sh
vim ./vars.sh # Edit all values which will be used by the script vim ./vars.sh # Edit all values which will be used by the script
./recipe_gentoo.sh [--physical] ./recipe_gentoo.sh [--physical]
```
If you cannot execute the script, add the 'x' permission for the user (chmod u+x ./recipe_gentoo.sh). If you cannot execute the script, add the 'x' permission for the user (chmod u+x ./recipe_gentoo.sh).