...
No Format |
---|
knife exec -E 'nodes.all {|n| if n.name =~ /^i-/ then printf("%-45s\t%s\n" % [n.override.tomcat.vhost,n.ec2.ami_id]) end }'|sort |
How to get whats installed for each MFI
...
You will need to install amazon-ec2 gem e.g. sudo gem install amazone-ec2
and knife should be working. Save the following script as state.rb
and then invoke it knife exec state.rb
:
...