diff --git a/deploy_vm.sh b/deploy_vm.sh index 1d9d641..fca1abc 100755 --- a/deploy_vm.sh +++ b/deploy_vm.sh @@ -404,12 +404,12 @@ if [ $? -ne 0 ]; then fi # Regenerate SSH host keys for the VM and restart SSHD -echo "INFO : Regenerate SSH host keys for the VM and restart SSHD..." -ssh ${SSH_OPT} ${SSH_HOST} "/bin/rm -v /etc/ssh/ssh_host_* && dpkg-reconfigure openssh-server && systemctl restart ssh" &> /dev/null -if [ $? -ne 0 ]; then - echo 'ERROR : problem during regenerate SSH host keys for the VM, please finish manually the deploy OR delete VM and IPAM information' - exit 1 -fi +#echo "INFO : Regenerate SSH host keys for the VM and restart SSHD..." +#ssh ${SSH_OPT} ${SSH_HOST} "/bin/rm -v /etc/ssh/ssh_host_* && dpkg-reconfigure openssh-server && systemctl restart ssh" &> /dev/null +#if [ $? -ne 0 ]; then +# echo 'ERROR : problem during regenerate SSH host keys for the VM, please finish manually the deploy OR delete VM and IPAM information' +# exit 1 +#fi # Get FingerPrint echo "INFO : Get SSH FingerPrint of the new VM..."