aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/vm
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2019-03-06 18:27:50 +0100
committerJan Gelety <jgelety@cisco.com>2019-03-06 18:27:50 +0100
commit7cc1d28080ff1113ddb1f1e1fd494b2651a3199b (patch)
tree7759df300f2366763a3e31015580ff3fe2f6de0b /resources/libraries/robot/vm
parent206432e83d94c7eceb68c230ea2b0e9b205b5c6b (diff)
FIX: Workaround for qemu
- replace qemu image by fresh backup copy Change-Id: I13fa2a7f0f4ca6c36f993352f44086ae6ca8be63 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/robot/vm')
-rw-r--r--resources/libraries/robot/vm/qemu.robot6
1 files changed, 6 insertions, 0 deletions
diff --git a/resources/libraries/robot/vm/qemu.robot b/resources/libraries/robot/vm/qemu.robot
index 097f3cb1a8..276d639024 100644
--- a/resources/libraries/robot/vm/qemu.robot
+++ b/resources/libraries/robot/vm/qemu.robot
@@ -13,6 +13,7 @@
*** Settings ***
| Library | resources.libraries.python.QemuUtils
| Library | resources.libraries.python.ssh.SSH
+| Library | resources.libraries.python.ssh
*** Keywords ***
@@ -97,3 +98,8 @@
| | :FOR | ${dut} | IN | @{duts}
| | | Qemu Set Node | ${nodes['${dut}']}
| | | Qemu Kill
+
+| Copy nested qemu image
+| | [Arguments] | ${dut}
+| | Exec Cmd | ${nodes['${dut}']}
+| | ... | sudo cp ~/csit-nested-1.7.img /var/lib/vm/csit-nested-1.7.img