Skip to content

Commit

Permalink
M initrd-shell.service
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei-Pozolotin committed Dec 12, 2016
1 parent e9fd43e commit c270db3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion initrd-shell.service
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ InitrdPath=/etc/group replace=yes
InitrdPath=/etc/passwd replace=yes
InitrdPath=/etc/shadow replace=yes
InitrdBuild=/etc/systemd/system/initrd-build.sh command=do_root_shell
#InitrdBuild=/etc/systemd/system/initrd-build.sh command=do_secret_clean
InitrdBuild=/etc/systemd/system/initrd-build.sh command=do_secret_clean

# include ssh credentials
InitrdPath=/root/.ssh/authorized_keys source=/root/.ssh/authorized_keys mode=600
Expand All @@ -46,3 +46,6 @@ InitrdPath=/root/.ssh/authorized_keys source=/root/.ssh/authorized_keys mode=600
InitrdLink=/usr/bin/halt /usr/bin/systemctl
InitrdLink=/usr/bin/reboot /usr/bin/systemctl
InitrdLink=/usr/bin/shutdown /usr/bin/systemctl

# required by /etc/nsswitch.conf
InitrdBinary=/usr/lib/libnss_compat.so

0 comments on commit c270db3

Please sign in to comment.