We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8912540 commit 0cec11dCopy full SHA for 0cec11d
1 file changed
contrib/ec2/provision-ec2-controller.sh
@@ -1,10 +1,10 @@
1
#!/usr/bin/env bash
2
#
3
-# Usage: ./provision-ec2-controller.sh <region>
+# Usage: ./provision-ec2-controller.sh <region> <knife params>
4
5
6
if [ -z $1 ]; then
7
- echo usage: $0 [region]
+ echo usage: $0 [region] [knife params]
8
exit 1
9
fi
10
@@ -128,7 +128,8 @@ knife ec2 server create \
128
--identity-file $ssh_key_path \
129
--node-name $node_name \
130
--ebs-size $ebs_size \
131
- --run-list $run_list
+ --run-list $run_list \
132
+ ${@//$region/}
133
set +x
134
135
# Need Chef admin permission in order to add and remove nodes and clients
0 commit comments