Method: Mccloud::Provider::Aws::Vm#initialize
- Defined in:
- lib/mccloud/provider/aws/vm.rb
#initialize(env) ⇒ Vm
Returns a new instance of Vm.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/mccloud/provider/aws/vm.rb', line 37 def initialize(env) # Todo calculate the best default based # On provider region super(env) @key_name = [ "mccloud"] # Todo calculate the best default based # On provider region @zone="eu-west-1a" @security_groups=[ "mccloud"] @flavor="t1.micro" # Todo calculate the ubuntu one based # on provider region and flavor @ami="ami-e59ca991" # Empty tags, but on up the name get's added = {} @user = "root" @user_data = nil end |