diff options
Diffstat (limited to 'docker/firstboot/setup_docker_host.yaml')
-rw-r--r-- | docker/firstboot/setup_docker_host.yaml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/docker/firstboot/setup_docker_host.yaml b/docker/firstboot/setup_docker_host.yaml new file mode 100644 index 00000000..2f258987 --- /dev/null +++ b/docker/firstboot/setup_docker_host.yaml @@ -0,0 +1,32 @@ +heat_template_version: ocata + +parameters: + DockerNamespace: + type: string + default: tripleoupstream + DockerNamespaceIsRegistry: + type: boolean + default: false + +resources: + + userdata: + type: OS::Heat::MultipartMime + properties: + parts: + - config: {get_resource: setup_docker_host} + + setup_docker_host: + type: OS::Heat::SoftwareConfig + properties: + group: script + config: + str_replace: + params: + $docker_registry: {get_param: DockerNamespace} + $docker_namespace_is_registry: {get_param: DockerNamespaceIsRegistry} + template: {get_file: ./setup_docker_host.sh} + +outputs: + OS::stack_id: + value: {get_resource: userdata} |