debian-forge-composer/tools
Tomas Hozza 94c2a6268c generate-all-test-cases: use SSH keys instead of password for VMs
Previously passwords were used to log into provisioned QEMU VMs. This is
not practical if one would like to use e.g. rsync to transfer files from
and to the VM. The script now does not use passwords at all, but instead
configures the most recent SSH key from the system matching
'~/.ssh/id*.pub' as an authorized key on the VM. Alternatively the SSH
key to be used can be provided as an argument to the script.

In addition, the script no longer relies on external files for
cloud-init user-data. If no cloud-init user-data are provided as an
argument to the script creates default user-data file in a temporary
work directory and uses it. The reason for this change is mostly that the
default user-data became very short and need to be always extended with
the authorized SSH key anyway. In addition, this makes the script more
standalone by relying on fewer external file paths.

Delete the `tools/deploy/gen-test-data` which held the cloud-init
user-data previously used by default by the script.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
2021-09-22 09:12:57 +02:00
..
deploy/test generate-all-test-cases: use SSH keys instead of password for VMs 2021-09-22 09:12:57 +02:00
test-case-generators generate-all-test-cases: use SSH keys instead of password for VMs 2021-09-22 09:12:57 +02:00
clouddot_build_deploy.sh tools: add delpoy script for clouddot 2020-12-22 15:27:39 +01:00
define-compose-url.sh tests: Add info about COMPOSE_ID/COMPOSE_URL 2021-09-07 13:29:56 +03:00
deploy-openstack tools: add deploy-openstack 2020-10-20 15:43:30 +02:00
deploy-qemu tools/deploy-qemu: use sys.exit instead of exit 2021-06-22 14:45:54 +02:00
gen-certs.sh tools: Add internal container names to certs 2021-01-30 13:20:11 +00:00
gen-ssh.sh test: Replace hard coded ssh keys on some test 2021-07-29 09:38:03 +03:00
gen-user-data Return error when write_files exists in cloud-init (#1644) 2021-08-20 22:24:38 +02:00
image-info image-info: mount partitions in correct order when analysing image 2021-08-05 09:34:07 +02:00
koji-compose.py test: use DISTRO_CODE to select tests case 2021-03-26 14:05:20 +00:00
libvirt_test.sh Undo changes added by mistake 2021-09-10 15:17:54 +02:00
prepare-source.sh bump minimum go version to 1.15 2021-07-07 17:26:18 +01:00
provision.sh tests: Override filename contains minor version number 2021-09-07 13:29:56 +03:00
run-koji-container.sh tools: move to new utility-container builds 2021-02-23 09:47:17 +01:00
update-distgit.py docs: document the release process 2021-07-14 12:11:35 +02:00