Class: Pec::Handler::Image
Class Method Summary collapse
Class Method Details
.build(host) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/pec/handler/image.rb', line 5 def self.build(host) Pec::Logger.notice "image is #{host.image}" { imageRef: Yao::Image.list.find {|image| image.name == host.image}.id } end |