diff options
Diffstat (limited to 'kvmx-create')
-rwxr-xr-x | kvmx-create | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmx-create b/kvmx-create index 7f9270d..204f2e0 100755 --- a/kvmx-create +++ b/kvmx-create @@ -248,7 +248,7 @@ function kvmx_create_custom { if [ "$ssh_custom" == "y" ]; then privkey="`dirname $image`/`basename $image .img`.key" pubkey="${privkey}.pub" - ssh-keygen -t rsa -b 4096 -f $privkey -N '' -C "user@`basename $image .img`" + $DIRNAME/kvmx-keygen $privkey "$user@`basename $image .img`" else pubkey="$DIRNAME/share/ssh/insecure_private_key.pub" fi |