Skip to content
This repository
Browse code

Small fixes

  • Loading branch information...
commit 37baf6df99fd6eee04bd13f36e631491a509dafd 1 parent 1db505f
Isaac Wolkerstorfer authored November 22, 2012
4  lib/hoboku/cli.rb
@@ -43,8 +43,8 @@ def self.exit_on_failure?
43 43
       desc "vm", "manage VMs"
44 44
       subcommand "vm", VM
45 45
       map 'ssh' => 'vm:ssh'
46  
-      map 'start' => 'vm:start'
47  
-      map 'stop' => 'vm:stop'
  46
+      map 'start' => 'vm:up'
  47
+      map 'stop' => 'vm:suspend'
48 48
       map 'status' => 'vm:status'
49 49
 
50 50
       def method_missing(meth, *args)
4  lib/hoboku/vm.rb
@@ -37,8 +37,8 @@ def exec(*args)
37 37
 
38 38
     def vagrant
39 39
       @vagrant ||= Vagrant::Environment.new(
40  
-        cwd: dir,
41  
-        ui_class: Vagrant::UI::Colored
  40
+        :cwd => dir,
  41
+        :ui_class => Vagrant::UI::Colored
42 42
       ).tap do |env|
43 43
         env.load!
44 44
       end

0 notes on commit 37baf6d

Please sign in to comment.
Something went wrong with that request. Please try again.