Temporarly disable SSH host key regen

This commit is contained in:
nemo 2019-09-08 16:52:44 +02:00
parent de6caeeb94
commit 14da55d828

View file

@ -351,8 +351,8 @@ VM_FE80=$(ipv6calc --action prefixmac2ipv6 --in prefix+mac --out ipv6addr fe80::
# Define SSH host # Define SSH host
SSH_HOST="root@${VM_FE80}%${VM_BRIDGE_DEV}" SSH_HOST="root@${VM_FE80}%${VM_BRIDGE_DEV}"
echo "INFO : wait 1 minute to be sure that ssh service is started" echo "INFO : wait 2 minutes to be sure that ssh service is started"
sleep 180 sleep 120
# Create network configuration file for new VM # Create network configuration file for new VM
echo "INFO : Create network configuration file for new VM..." echo "INFO : Create network configuration file for new VM..."
@ -437,6 +437,8 @@ if [ "${VM_DISK_EXTEND}" -ne 0 ]; then
# Wait for system reboot # Wait for system reboot
sleep 20 sleep 20
echo "INFO : wait 2 minutes to be sure that ssh service is started"
sleep 120
echo "INFO : Create new PV... (pvcreate /dev/vda3)" echo "INFO : Create new PV... (pvcreate /dev/vda3)"