Module: UnitHosting::Api

Included in:
Commands, Group
Defined in:
lib/unit-hosting/api/vm.rb,
lib/unit-hosting/api/base.rb,
lib/unit-hosting/api/vm_group.rb,
lib/unit-hosting/api/vm_recipe.rb

Defined Under Namespace

Classes: Base, Vm, VmGroup, VmRecipe

Class Method Summary collapse

Class Method Details

.keypath(instance_id) ⇒ Object



6
7
8
# File 'lib/unit-hosting/api/base.rb', line 6

def keypath instance_id
  "%s/.UnitHosting/keys/%s.key" % [ENV['HOME'], instance_id]
end