Skip to content

Commit

Permalink
Add extra debugging features:
Browse files Browse the repository at this point in the history
- 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 <[email protected]>
  • Loading branch information
enkiusz committed Oct 27, 2024
1 parent 5ef3f95 commit b5b48d5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nixos-infect
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b5b48d5

Please sign in to comment.