mirror of
https://github.com/elitak/nixos-infect
synced 2025-03-14 13:46:59 +00:00
Add extra debugging features:
- ability to set a root password by specifying the 'root_password_hash' environment variable - ability to skip actual injection step by specifying the 'NO_INJECT' environment variable Signed-off-by: Maciej Grela <enki@fsck.pl>
This commit is contained in:
parent
5ef3f953d3
commit
b5b48d56b3
1 changed files with 3 additions and 1 deletions
|
@ -399,7 +399,9 @@ if [[ -z "$NO_SWAP" ]]; then
|
|||
makeSwap # smallest (512MB) droplet needs extra memory!
|
||||
fi
|
||||
makeConf
|
||||
infect
|
||||
if [[ -z "$NO_INFECT" ]]; then
|
||||
infect
|
||||
fi
|
||||
if [[ -z "$NO_SWAP" ]]; then
|
||||
removeSwap
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue