lib/fog/ovirt/models/compute/server.rb
# This will be the instance uuid which is globally unique across
# a oVirt deployment.
This will be the instance uuid which is globally unique across
a oVirt deployment.
This will be the instance uuid which is globally unique across a oVirt deployment .
def start_with_cloudinit(options = {})
          wait_for { !locked? } if options[:blocking]
          user_data = if options[:use_custom_script]
                        { :custom_script => options[:user_data] }
                      else
                        Hash[YAML.safe_load(options[:user_data]).map { |a| [a.first.to_sym, a.last] }]
                      end
          action_status = service.vm_start_with_cloudinit(:id => id, :user_data => user_data)
          reload
          action_status
        end
def start_with_cloudinit ( options = { } ) wait_for { ! locked? } if options [ :blocking ] user_data = if options [ :use_custom_script ] { :custom_script => options [ :user_data ] } else Hash [ YAML . safe_load ( options [ :user_data ] ) . map { | a | [ a . first . to_sym , a . last ] } ] end action_status = service . vm_start_with_cloudinit ( :id => id , :user_data => user_data ) reload action_status end
This will be the instance uuid which is globally unique across
a oVirt deployment.
This will be the instance uuid which is globally unique across a oVirt deployment .
options