xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH OSSTEST] ts-debian-install: Stop nbd-server before creating the guest
@ 2015-07-24 12:55 Ian Campbell
  2015-07-24 13:39 ` Ian Jackson
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Campbell @ 2015-07-24 12:55 UTC (permalink / raw)
  To: ian.jackson, xen-devel; +Cc: Ian Campbell

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@citrix.com>
---
 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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-24 13:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-24 12:55 [PATCH OSSTEST] ts-debian-install: Stop nbd-server before creating the guest Ian Campbell
2015-07-24 13:39 ` Ian Jackson
2015-07-24 13:47   ` Ian Campbell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).