diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2013-09-17 22:31:57 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 04:27:24 +0200 |
commit | 9c238e41f054000f1cea9d8da9b974185e838f16 (patch) | |
tree | 3fd40437659986ae8eb190a1bfe5495525b26d51 | |
parent | 97ee0fb98d488a745c6c884b875e173922096889 (diff) |
Bugfixes.
-rwxr-xr-x | pre-partman.sh | 2 | ||||
-rwxr-xr-x | slurpkey.sh | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/pre-partman.sh b/pre-partman.sh index dd3cde9..ebb1d1e 100755 --- a/pre-partman.sh +++ b/pre-partman.sh @@ -36,7 +36,7 @@ PermitRootLogin yes AllowUsers root StrictModes yes -ForceCommand /cdrom/preseed/slurpkey.sh +ForceCommand /bin/sh -c 'umask 0077; cat > ~root/root.key' EOF # Populate the authorized keys. TODO: make something more generic diff --git a/slurpkey.sh b/slurpkey.sh deleted file mode 100755 index c047dd4..0000000 --- a/slurpkey.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -umask 0077 -cat > ~root/root.key |