Remove cloud-init/network-config file from tests

- not used in oscap.sh test at all
- causes VM in libvirt.sh test to acquire a different IP address instead
  of the hard-coded one inside the test, which causes SSH to fail

- not used anywhere else
This commit is contained in:
Alexander Todorov 2023-06-12 13:21:53 +03:00 committed by Jakub Rusz
parent c0c4ecd937
commit 83cec26a5a
3 changed files with 1 additions and 17 deletions

View file

@ -106,7 +106,6 @@ EOF
CLOUD_INIT_DIR=$(mktemp -d)
cp "${OSBUILD_COMPOSER_TEST_DATA}"/cloud-init/meta-data "${CLOUD_INIT_DIR}"/
cp "${USER_DATA_FILE}" "${CLOUD_INIT_DIR}"/
# cp "${OSBUILD_COMPOSER_TEST_DATA}"/cloud-init/network-config "${CLOUD_INIT_DIR}"/
# Set up a cloud-init ISO.
gen_iso () {

View file

@ -1,14 +0,0 @@
network:
version: 2
renderer: NetworkManager
ethernets:
eth0:
dhcpv4: false
dhcpv6: false
addresses:
- 192.168.122.50/24
gateway4: 192.168.122.1
nameservers:
addresses:
- 1.1.1.1
- 8.8.8.8