From 9c238e41f054000f1cea9d8da9b974185e838f16 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 17 Sep 2013 22:31:57 +0200 Subject: Bugfixes. --- pre-partman.sh | 2 +- slurpkey.sh | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100755 slurpkey.sh 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 -- cgit v1.2.3