Created
November 29, 2021 13:44
-
-
Save kkumar-fk/5a663437322891daf5bf6a8c4adacb5a to your computer and use it in GitHub Desktop.
Script to run on destination hypervisor to reattach a VF to the migrated VM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
bridge fdb del 52:54:00:00:12:53 dev ens36v0 | |
bridge fdb del 52:54:00:00:12:53 dev vmtap01 master | |
virsh attach-device --config --live vm01 vf.xml | |
virsh domif-setlink vm01 vmtap01 down |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment