From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: [PATCH OSSTEST] ts-debian-install: Stop nbd-server before creating the guest Date: Fri, 24 Jul 2015 13:55:49 +0100 Message-ID: <1437742549-25453-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com, xen-devel@lists.xen.org Cc: Ian Campbell List-Id: xen-devel@lists.xenproject.org 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 --- 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