forked from Mirrors/nixos-infect
add NO_REBOOT variable
Useful when nixos-infect is used within programs that manage the machine's state, like nixops.
This commit is contained in:
parent
2d3b1dffa9
commit
a009827712
1 changed files with 1 additions and 1 deletions
|
@ -258,4 +258,4 @@ makeConf
|
||||||
makeSwap # smallest (512MB) droplet needs extra memory!
|
makeSwap # smallest (512MB) droplet needs extra memory!
|
||||||
infect
|
infect
|
||||||
removeSwap
|
removeSwap
|
||||||
reboot
|
[[ -z "$NO_REBOOT" ]] && reboot
|
||||||
|
|
Loading…
Reference in a new issue