generate-all-test-cases: don't use cloud-init to install RPMs

Previously cloud-init was used to install necessary packages on the
runner. This would not be practical in the future with other types of
runners, which would not use cloud-init. Install all necessary RPMs by
directly running DNF command on the runner.

Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
Tomas Hozza 2021-09-14 19:54:04 +02:00 committed by Ondřej Budai
parent f6dbb51041
commit 6f89cada2d
3 changed files with 12 additions and 11 deletions

View file

@ -1,9 +0,0 @@
#!/bin/bash
set -euxo pipefail
dnf -y install osbuild \
osbuild-selinux \
osbuild-ostree \
osbuild-composer \
golang

View file

@ -16,5 +16,3 @@ ssh_pwauth: True
chpasswd:
expire: False
sudo: 'ALL=(ALL) NOPASSWD:ALL'
runcmd:
- /run/provision-scripts/deploy.sh