Skip to content

Commit 7dd8b95

Browse files
committed
Allow expansion of variables in echo
Signed-off-by: Mark Cram <[email protected]>
1 parent f7be445 commit 7dd8b95

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/operator/scripts/create_environment.template.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2020, Oracle Corporation and/or affiliates.
44
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl
55

6-
echo 'Creating environment ${environment}'
6+
echo "Creating environment ${environment}"
77

88
olcnectl --api-server 127.0.0.1:8091 environment create --environment-name "${environment}" \
99
--update-config \
@@ -12,4 +12,4 @@ olcnectl --api-server 127.0.0.1:8091 environment create --environment-name "${en
1212
--olcne-ca-path /etc/olcne/configs/certificates/production/ca.cert \
1313
--olcne-node-key-path /etc/olcne/configs/certificates/production/node.key 2> /dev/null
1414

15-
echo 'Environment ${environment} configured'
15+
echo "Environment ${environment} configured"

modules/operator/scripts/create_kubernetes_module.template.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2020, Oracle Corporation and/or affiliates.
44
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl
55

6-
echo 'Creating cluster ${cluster_name} in environment ${environment}'
6+
echo "Creating cluster ${cluster_name} in environment ${environment}"
77

88
olcnectl --api-server 127.0.0.1:8091 module create --environment-name "${environment}" \
99
--module kubernetes --name "${cluster_name}" \
@@ -12,4 +12,4 @@ olcnectl --api-server 127.0.0.1:8091 module create --environment-name "${environ
1212
--master-nodes "${master_nodes_addresses}" \
1313
--worker-nodes "${worker_nodes_addresses}" 2> /dev/null
1414

15-
echo 'Cluster ${cluster_name} created in environment ${environment}'
15+
echo "Cluster ${cluster_name} created in environment ${environment}"

0 commit comments

Comments
 (0)