[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH OSSTEST] ts-debian-install: Stop nbd-server before creating the guest



Like the umount this is useful when running the test/job repeatedly in
development, since it allows the LV to be destroyed.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 ts-debian-install | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ts-debian-install b/ts-debian-install
index 0dfe40c..7d02ec4 100755
--- a/ts-debian-install
+++ b/ts-debian-install
@@ -42,6 +42,7 @@ sub prep () {
                        $swap_mb + $disk_mb + 2,
                        40);
     target_cmd_root($ho, "umount $gho->{Lvdev} ||:");
+    target_cmd_root($ho, "service nbd-server stop ||:");
 }
 
 sub ginstall () {
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.