class Pennyworth::BootCommand

Public Instance Methods

execute(image) click to toggle source
# File lib/pennyworth/commands/boot_command.rb, line 20
def execute(image)
  runner = ImageRunner.new(image)
  log "Starting image #{runner.name}"

  ip = VM.new(runner).start

  log "System was started with IP #{ip}."
end