add /etc/is_kexec for scripting
This commit is contained in:
parent
c57f6cd26d
commit
209edb3996
1 changed files with 3 additions and 0 deletions
|
@ -73,6 +73,9 @@
|
||||||
# Not really needed. Saves a few bytes and the only service we are running is sshd, which we want to be reachable.
|
# Not really needed. Saves a few bytes and the only service we are running is sshd, which we want to be reachable.
|
||||||
networking.firewall.enable = false;
|
networking.firewall.enable = false;
|
||||||
|
|
||||||
|
# for detection if we are on kexec
|
||||||
|
environment.etc.is_kexec.text = "true";
|
||||||
|
|
||||||
# Restore ssh host and user keys if they are available.
|
# Restore ssh host and user keys if they are available.
|
||||||
# This avoids warnings of unknown ssh keys.
|
# This avoids warnings of unknown ssh keys.
|
||||||
boot.initrd.postMountCommands = ''
|
boot.initrd.postMountCommands = ''
|
||||||
|
|
Loading…
Reference in a new issue