xci: scripts: Add script to use clean virtual machines for testing 43/42743/6
authorMarkos Chandras <mchandras@suse.de>
Fri, 22 Sep 2017 07:54:18 +0000 (08:54 +0100)
committerMarkos Chandras <mchandras@suse.de>
Mon, 25 Sep 2017 11:25:36 +0000 (12:25 +0100)
commitc8388b83707b4fd58f2185094dba33ae9a01d9f1
tree6634d998825bd25ddde1655b1925b56798c13f94
parentbb7e7efef45d8347c08022c7246d6111887b864d
xci: scripts: Add script to use clean virtual machines for testing

These scripts will prepare a clean OS image based on diskimage-builder
and launch a new VM with it. The purpose of that is to use this virtual
machine as a 'host' to run XCI on it. This way we can ensure that all
tests are being executed on the same clean environment which is ideal
for reproducing and debugging purposes. We also commit the ssh keypair
so we can build it in the image and use it to control the virtual
machine without user interaction. Needless to say that this keypair MUST
NOT be used for anything else apart from the dib build process.

Change-Id: Idec0fc06c82435adc1a4d569b8e578616998de5f
Signed-off-by: Markos Chandras <mchandras@suse.de>
.gitignore
xci/scripts/vm/build-dib-os.sh [new file with mode: 0755]
xci/scripts/vm/id_rsa_for_dib [new file with mode: 0644]
xci/scripts/vm/id_rsa_for_dib.pub [new file with mode: 0644]
xci/scripts/vm/start-new-vm.sh [new file with mode: 0755]