Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: ec2-0.5.12
-
Component/s: knife-ec2
-
Labels:None
-
Environment:
Was tried on Ubuntu 10.04 (lucid)
Description
Added two new features to knife ec2 server create command :
1. when providing a name to a server like this: knife ec2 server create RUNLIST -N myName , the name usually goes to a new created client and a new created node.. now the name will also be applied to the EC2 Name tag, so the new EC2 instance will also have a name.
2. added new option to "knife ec2 server create" --machine-role <MACHINE_NAME> , when used the new instance will have a Tag with a key equals to <MACHINE_NAME>
you can find it in my forked git at: https://github.com/omrico1/knife-ec2/blob/master/lib/chef/knife/ec2_server_create.rb
hope you'll find it useful and merge it..
please refer to: https://github.com/omrico1/knife-ec2/blob/master/lib/chef/knife/ec2_server_create.rb for resolution, again, I hope you will find it necessary and merge it in..