Represents an OnApp CP VM as created by the OnApp Market
Parameters such as data_store_group_primary_id, hypervisor_group_id etc. are not specified here and will be filled in by the market based on it’s knowledge of the resource (HypervisorZone) supplied to the market
type of filesystem - ext4. For Linux templates, you can choose ext4 file system instead of the ext3 default one.
Note virtual_machine_id wil be stored in @local_id Identifier of virtual machine
the root password for a VM. Optional, if none specified, the system will provide a random password. It can consist of 6-32 characters, letters [A-Za-z], digits [0-9], dash [ - ] and lower dash [ _ ]. You can use both lowercase and uppercase letters.
specify the password encryption passphrase.
the ID of a template from which a VM should be built
Create a generic VM resource
hash - Hash of attributes to apply
# File lib/onapp_market/onapp/vm.rb, line 47 def initialize(hash={}) super(hash, TYPE) restrict [:initial_root_password,:initial_root_password_encryption_key, :identifier], [:admin, :supplier, :ro_admin] end