Browse Source

Test set static bridge for SSH connection

master
nemo 3 years ago
parent
commit
9e4c3b2644
  1. 2
      deploy_vm.sh

2
deploy_vm.sh

@ -348,6 +348,8 @@ echo "INFO : Get the FE80 IPv6 of the new VM..."
VM_MAC=$(grep net0 /etc/pve/qemu-server/${VM_ID}.conf | cut -d '=' -f 2 | cut -d ',' -f 1)
VM_FE80=$(ipv6calc --action prefixmac2ipv6 --in prefix+mac --out ipv6addr fe80:: $VM_MAC)
VM_BRIDGE_DEV="vmbr1"
# Define SSH host
SSH_HOST="root@${VM_FE80}%${VM_BRIDGE_DEV}"

Loading…
Cancel
Save