Wrapper to use to add the route after the migration

This commit is contained in:
Alarig Le Lay 2019-01-21 17:58:59 +01:00
parent c64603b284
commit d6a735b585

7
qm-migration-wrapper.sh Normal file
View file

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