Wrapper to use to add the route after the migration
This commit is contained in:
parent
c64603b284
commit
d6a735b585
7
qm-migration-wrapper.sh
Normal file
7
qm-migration-wrapper.sh
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
qm migrate $@
|
||||||
|
|
||||||
|
if [ $? = 0 ]; then
|
||||||
|
ssh root@$2 "./creationRoutesVM.sh $1"
|
||||||
|
fi
|
Loading…
Reference in a new issue