Class: Virt::KVM::Guest
Instance Attribute Summary
Attributes inherited from Guest
#arch, #boot_device, #current_memory, #interface, #machine, #memory, #name, #template_path, #type, #vcpu, #volume, #xml_desc
Instance Method Summary collapse
- #arch=(value) ⇒ Object
-
#initialize(options = {}) ⇒ Guest
constructor
A new instance of Guest.
Methods inherited from Guest
#<=>, #destroy, #new?, #poweroff, #reboot, #running?, #save, #shutdown, #start, #stop, #to_s, #uuid
Methods included from Util
Constructor Details
Instance Method Details
#arch=(value) ⇒ Object
10 11 12 |
# File 'lib/virt/kvm/guest.rb', line 10 def arch= value @arch = value == "i386" ? "i686" : value end |