ci: Move CI related test data to separate folder

Script `create-cloud-init.sh" uses the same cloud init data as the the CI
but this means it is somewhat overloaded with unhelpful network configuration
entries and scripts that are only needed for the CI.

CI related data moved to test_data/cloud-init/ubuntu/ci folder.

Fixes: #4773

Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@intel.com>
This commit is contained in:
Ravi kumar Veeramally 2023-06-13 23:31:41 +03:00 committed by Bo Chen
parent 7ea5d7a416
commit 0712027eb1
4 changed files with 2 additions and 1 deletions

View File

@ -249,7 +249,8 @@ impl DiskConfig for UbuntuDiskConfig {
.unwrap() .unwrap()
.join("test_data") .join("test_data")
.join("cloud-init") .join("cloud-init")
.join("ubuntu"); .join("ubuntu")
.join("ci");
vec!["meta-data"].iter().for_each(|x| { vec!["meta-data"].iter().for_each(|x| {
rate_limited_copy(source_file_dir.join(x), cloud_init_directory.join(x)) rate_limited_copy(source_file_dir.join(x), cloud_init_directory.join(x))