proxmox_routing/qm-migration-wrapper.sh

8 lines
89 B
Bash

#!/bin/sh
qm migrate $@
if [ $? = 0 ]; then
ssh root@$2 "./creationRoutesVM.sh $1"
fi