diff options
Diffstat (limited to 'kvm-wrapper.sh')
-rwxr-xr-x | kvm-wrapper.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kvm-wrapper.sh b/kvm-wrapper.sh index dc2cfc1..d303e6d 100755 --- a/kvm-wrapper.sh +++ b/kvm-wrapper.sh @@ -894,6 +894,8 @@ function kvm_receive_migrate_here_vm () { local PORT="$2" + test_exec "$(which firewall-cmd)" && firewall-cmd --add-port $2/tcp --timeout=1h + # KVM_ADDITIONNAL_PARAMS+=" -incoming unix:$RUN_DIR/migrate-$VM_NAME.sock" KVM_ADDITIONNAL_PARAMS+=" -incoming ${KVM_MIGRATE_TRANSPORT:-tcp}:`get_cluster_host $(hostname -s)`:$PORT" FORCE="yes" |