aboutsummaryrefslogtreecommitdiff
path: root/kvmx-create
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-06-14 02:16:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-06-14 02:16:42 -0300
commitbfcbe75b84f8a58e607c67eaf8d3d3270237f748 (patch)
tree6e7f6d7fd10f79570e5e4a442cb6e812f8ba1e0c /kvmx-create
parentfe4859aee4eeddbcb0b81b03fe3608383f431710 (diff)
downloadkvmx-bfcbe75b84f8a58e607c67eaf8d3d3270237f748.tar.gz
kvmx-bfcbe75b84f8a58e607c67eaf8d3d3270237f748.tar.bz2
Overwrite fingerprint files instead of appending at kvmx-create
Diffstat (limited to 'kvmx-create')
-rwxr-xr-xkvmx-create4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmx-create b/kvmx-create
index 81d6be1..9d956ab 100755
--- a/kvmx-create
+++ b/kvmx-create
@@ -447,8 +447,8 @@ EOF
# Save host SSH key fingerprints
for key in $WORK/etc/ssh/*pub; do
- ssh-keygen -l -f $key >> $sshdir/`basename $key`.sha256
- ssh-keygen -l -E md5 -f $key >> $sshdir/`basename $key`.md5
+ ssh-keygen -l -f $key > $sshdir/`basename $key`.sha256
+ ssh-keygen -l -E md5 -f $key > $sshdir/`basename $key`.md5
done
# Sudo