Sha256: 9c2caa664b2c1eb1e03e32b07dbbdbf915e28bbbf44dbdb29a5817af828e9f9e

Contents?: true

Size: 347 Bytes

Versions: 5

Compression:

Stored size: 347 Bytes

Contents

module Vagabond
  module Actions
    module Start

      def _start
        name_required!
        ui.info "#{ui.color('Vagabond:', :bold)} Starting node: #{ui.color(name, :green)}"
        do_start
        ui.info ui.color('  -> STARTED', :green)
      end

      protected
      
      def do_start
        lxc.start
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
vagabond-0.2.8 lib/vagabond/actions/start.rb
vagabond-0.2.6 lib/vagabond/actions/start.rb
vagabond-0.2.4 lib/vagabond/actions/start.rb
vagabond-0.2.2 lib/vagabond/actions/start.rb
vagabond-0.2.0 lib/vagabond/actions/start.rb