bash:one_liners:migrate_all_libvirt_machines_to_other_host
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
bash:one_liners:migrate_all_libvirt_machines_to_other_host [2015/03/07 19:21] – created biggi | bash:one_liners:migrate_all_libvirt_machines_to_other_host [2015/08/15 22:56] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | To migrate all running VPSes to another host, do the following: | ||
+ | < | ||
+ | for x in `virsh list | grep running | awk {' | ||
+ | </ | ||
+ | Remember to change " |