[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] How to wait for a destroying domU?
Hello, I have a script for auto-reuild of CentOS 5 DomU's (on top of CentOS 5 Dom0) and basically what it does is: xm destroy $domain sleep 2 lvremove ...$domain's LV Sometimes, the domain doesn't destroy within 2 second and the script fails. I added tests to check that the domain is destroyed before the lvremove but was wondering whether there is a more elegant way to just run a command that will exit when the domain is no longer alive. Is there? Thanks, --Amos _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |