update defaults
* Add static files list, for offline build
* Unhardcode mcp_static_images_url
* Unhardcode salt_control_*_image
Change-Id: Ia774d16a0f34362535d4f91d3add47b8ecebf7c1
Prod-related: PROD-26662 (PROD:26662)
(cherry picked from commit 5adb88c335f650b058151a9542be545a83e75709)
diff --git a/defaults/linux_system_file.yml b/defaults/linux_system_file.yml
new file mode 100644
index 0000000..c8080c4
--- /dev/null
+++ b/defaults/linux_system_file.yml
@@ -0,0 +1,14 @@
+parameters:
+ _param:
+ # List of files, to be placed into offline image, during separate image build process
+ # By default, will be avaible http_server
+ # WARNING: file path and names - must be exactly same as in any other place in reclass-system!
+ local_http_files_list:
+ file:
+ ubuntu-16-04-x64.qcow2:
+ name: /srv/http/images.mirantis.com/ubuntu-16-04-x64-mcp${_param:mcp_version}.qcow2
+ source: ${_param:mcp_static_images_url}/ubuntu-16-04-x64-mcp${_param:mcp_version}.qcow2
+ hash: ${_param:mcp_static_images_url}/ubuntu-16-04-x64-mcp${_param:mcp_version}.qcow2.md5
+ ubuntu-16-04-x64.qcow2.md5:
+ name: /srv/http/images.mirantis.com/ubuntu-16-04-x64-mcp${_param:mcp_version}.qcow2.md5
+ source: ${_param:mcp_static_images_url}/ubuntu-16-04-x64-mcp${_param:mcp_version}.qcow2.md5