tests/recipes/test_recipe.yaml in kameleon-builder-2.7.4 vs tests/recipes/test_recipe.yaml in kameleon-builder-2.7.5
- old
+ new
@@ -31,10 +31,15 @@
less vim python
sl sudo
version: 12.2
variant: toto-tata
+
+ uuid: $${kameleon_uuid}
+
+ appliance_filename: $${kameleon_recipe_name}_$${kameleon_short_uuid}
+
#== Bootstrap the new system and create the 'in_context'
bootstrap:
- enable_something
- bootstrap:
- include_pkg: $$bootstrap_packages
@@ -52,9 +57,17 @@
- test_data:
- exec_local: cat $${kameleon_data_dir}/mydata.txt
- exec_local: cat $$kameleon_data_dir/mydata.txt
- local_variables
+ - test_uuid_resolve:
+ - show_uuid:
+ - exec_local: echo toto_$${kameleon_uuid}
+ - exec_local: echo $${kameleon_short_uuid}
+ - exec_local: |
+ echo "global uuid: $${toto}_$${kameleon_uuid}"
+ - exec_local: echo $${appliance_filename}
+ - test_uuid_step
export:
- save_appliance:
- save_as_raw
# - save_as_vmdk