Add ability to deploy AIO
Related-PRODX: PRODX-9716
Change-Id: Iced04895e7067482a7be813c834033ab0f010807
diff --git a/de/heat-templates/fragments/SrvInstancesVM.yaml b/de/heat-templates/fragments/SrvInstancesVM.yaml
index a9a305d..d62225a 100644
--- a/de/heat-templates/fragments/SrvInstancesVM.yaml
+++ b/de/heat-templates/fragments/SrvInstancesVM.yaml
@@ -54,6 +54,15 @@
type: string
single_node:
type: string
+ user_data_config:
+ description: This is part of clout-config which denies to mount drive with label ephemeral0 to /mnt
+ type: string
+ default: |
+ #cloud-config
+ #
+ # Don't mount ephemeral0 to /mnt as it's by default
+ mounts:
+ - [ ephemeral0, null ]
resources:
@@ -100,6 +109,7 @@
parts:
- config: {get_resource: software_config}
- config: {get_resource: inject_files}
+ - config: {get_param: user_data_config}
server:
type: OS::Nova::Server
@@ -151,7 +161,7 @@
value: { get_attr: [server, networks, { get_param: accessible_network}, 0]}
server_private_floating_ip:
description: IP address of server in private floating network
- value: { get_attr: [private_floating_server_port, fixed_ips, 0, ip_address] }
+ value: [ { get_attr: [private_floating_server_port, fixed_ips, 0, ip_address] } ]
server_public_ip:
description: Floating IP address of server in public network
value: { get_attr: [ server_floating_ip, floating_ip_address ] }