diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-06-14 02:16:42 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-06-14 02:16:42 -0300 |
commit | bfcbe75b84f8a58e607c67eaf8d3d3270237f748 (patch) | |
tree | 6e7f6d7fd10f79570e5e4a442cb6e812f8ba1e0c /kvmx-create | |
parent | fe4859aee4eeddbcb0b81b03fe3608383f431710 (diff) | |
download | kvmx-bfcbe75b84f8a58e607c67eaf8d3d3270237f748.tar.gz kvmx-bfcbe75b84f8a58e607c67eaf8d3d3270237f748.tar.bz2 |
Overwrite fingerprint files instead of appending at kvmx-create
Diffstat (limited to 'kvmx-create')
-rwxr-xr-x | kvmx-create | 4 |
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 |