Commit d0c27655 by JR Dalrymple

Added one liner to make all running domains on a KVM server persistent

parent b0fb9b97
#!/bin/bash
for domain in `virsh list | grep running | awk '{print $2}'`; do virsh dumpxml $domain > /var/tmp/$domain.xml; virsh define /var/tmp/$domain.xml; rm -f /var/tmp/$domain.xml; done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment