From: Yolkfull Chow Subject: [PATCH] Add 'downscript=no' into kvm command line Date: Wed, 21 Oct 2009 11:36:35 +0800 Message-ID: <1256096195-4277-1-git-send-email-yzhou@redhat.com> Cc: kvm@vger.kernel.org, Yolkfull Chow To: autotest@test.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:46273 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751612AbZJUDgb (ORCPT ); Tue, 20 Oct 2009 23:36:31 -0400 Sender: kvm-owner@vger.kernel.org List-ID: If no downscript is assigned, add 'downscript=no' to avoid error: /etc/qemu-ifdown: could not launch network script Signed-off-by: Yolkfull Chow --- client/tests/kvm/kvm_vm.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py index a8d96ca..0b8efbc 100755 --- a/client/tests/kvm/kvm_vm.py +++ b/client/tests/kvm/kvm_vm.py @@ -252,6 +252,8 @@ class VM: if script_path: script_path = kvm_utils.get_path(root_dir, script_path) qemu_cmd += ",downscript=%s" % script_path + else: + qemu_cmd += ",downscript=no" # Proceed to next NIC vlan += 1 -- 1.6.2.5