Update README and deploy_vm.sh

This commit is contained in:
nemo 2019-09-09 15:26:14 +02:00
parent ba01512e70
commit 863a65f97e
2 changed files with 4 additions and 4 deletions

View file

@ -14,6 +14,6 @@ The script add IPAM entry for an IPv4 address and an IPv6 range, and deploy/conf
* If the script fail and already do updates in IPAM or on the VM, you can manually finish the deploy OR delete IPAM entries (1 IPv4 and 1 IPv6 range), delete the VM, rectify to avoid the problem and retry deploy * If the script fail and already do updates in IPAM or on the VM, you can manually finish the deploy OR delete IPAM entries (1 IPv4 and 1 IPv6 range), delete the VM, rectify to avoid the problem and retry deploy
# To do # To do
* Variabilize some parameters like adminsys e-mail address, disk's name, ... * Variabilize some parameters like adminsys e-mail address, ...
* Verify if VM conf file parameters are numbers before test the interval (actually in the same line) * Verify if VM conf file parameters are numbers before test the interval (actually in the same line)
* Verify deploy_vm.conf parameters * Verify deploy_vm.conf parameters

View file

@ -433,8 +433,8 @@ if [ "${VM_DISK_EXTEND}" -ne 0 ]; then
ssh ${SSH_OPT} ${SSH_HOST} "reboot" &> /dev/null ssh ${SSH_OPT} ${SSH_HOST} "reboot" &> /dev/null
# Wait for system reboot # Wait for system reboot
sleep 20 echo "INFO : Wait 1 minute for system reboot"
echo "INFO : wait 3 minutes to be sure that ssh service is started" sleep 60
echo "INFO : Create new PV... (pvcreate /dev/vda3)" echo "INFO : Create new PV... (pvcreate /dev/vda3)"
@ -541,7 +541,7 @@ Nous vous recommandons très vivement de changer les mots de passe root et defau
dinterdire la connexion par SSH en tant que root. dinterdire la connexion par SSH en tant que root.
Voir pouvez donc vous connecter, démarrer votre machine virtuelle Voir pouvez donc vous connecter, démarrer votre machine virtuelle
et la configurer comme vous le souhaitez. et la configurer comme vous le souhaitez (nous vous conseillons aussi de changer le hostname).
Le fingerprint SSH de votre VM est : Le fingerprint SSH de votre VM est :
${SSH_FP} ${SSH_FP}