CSIT-351 Force vpp packages to install 81/3481/2
authorMiroslav Miklus <mmiklus@cisco.com>
Wed, 19 Oct 2016 09:54:41 +0000 (11:54 +0200)
committerDave Wallace <dwallacelf@gmail.com>
Thu, 20 Oct 2016 03:10:47 +0000 (03:10 +0000)
non-interactive installation of vpp packages

Change-Id: I298d84e8452dc623ed92b7a9533d3bbc5f216fa4
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
resources/tools/virl/bin/start-testcase

index 10028e6..99a4b0b 100755 (executable)
@@ -344,7 +344,7 @@ def main():
                 client.connect(ipaddr, username=args.ssh_user,
                                key_filename=args.ssh_privkey)
                 stdin, stdout, stderr = \
-                    client.exec_command('sudo dpkg -i /scratch/vpp/*deb')
+                    client.exec_command('sudo dpkg -i --force-all /scratch/vpp/*deb')
                 c_stdout = stdout.read()
                 c_stderr = stderr.read()
                 if args.verbosity >= 2: