Class VagrantPlugins::ProviderLibvirt::Config
In: lib/vagrant-libvirt/config.rb
Parent: Vagrant.plugin('2', :config)

Methods

Attributes

autostart  [RW]  Autostart
boot_order  [RW] 
cdroms  [RW] 
channel  [RW] 
channels  [RW]  Channels
cmd_line  [RW] 
connect_via_ssh  [RW]  If use ssh tunnel to connect to Libvirt.
cpu_fallback  [RW] 
cpu_features  [RW] 
cpu_mode  [RW] 
cpu_model  [RW] 
cpu_topology  [RW] 
cpus  [RW] 
default_prefix  [RW]  Default host prefix (alternative to use project folder name)
disk_bus  [RW] 
disk_device  [RW] 
disks  [RW]  Storage
driver  [RW]  A hypervisor name to access via Libvirt.
dtb  [RW] 
emulator_path  [RW] 
features  [RW] 
features_hyperv  [RW] 
graphics_autoport  [RW] 
graphics_ip  [RW] 
graphics_passwd  [RW] 
graphics_port  [RW] 
graphics_type  [RW] 
host  [RW]  The name of the server, where libvirtd is running.
id_ssh_key_file  [RW]  ID SSH key file
initrd  [RW] 
inputs  [RW]  Inputs
kernel  [RW] 
keymap  [RW] 
kvm_hidden  [RW] 
loader  [RW] 
machine_arch  [RW] 
machine_type  [RW] 
machine_virtual_size  [RW] 
management_network_address  [RW] 
management_network_autostart  [RW] 
management_network_device  [RW]  Libvirt default network
management_network_guest_ipv6  [RW] 
management_network_mac  [RW] 
management_network_mode  [RW] 
management_network_name  [RW] 
management_network_pci_bus  [RW] 
management_network_pci_slot  [RW] 
memory  [RW] 
memory_backing  [RW] 
mgmt_attach  [RW]  Attach mgmt network
nested  [RW] 
nic_adapter_count  [RW]  Sets the max number of NICs that can be created Default set to 8. Don‘t change the default unless you know what are doing
nic_model_type  [RW] 
numa_nodes  [RW] 
nvram  [RW] 
password  [RW]  Password for Libvirt connection.
pcis  [RW]  PCI device passthrough
qemu_args  [RW]  Additional qemuargs arguments
qemu_use_session  [RW]  Use qemu session instead of system
random_hostname  [RW]  Turn on to prevent hostname conflicts
redirdevs  [RW]  Redirected devices
redirfilters  [RW] 
rng  [RW]  Random number device passthrough
smartcard_dev  [RW]  smartcard device
socket  [RW]  Path towards the libvirt socket
sound_type  [RW] 
storage_pool_name  [RW]  Libvirt storage pool name, where box image and instance snapshots will be stored.
storage_pool_path  [RW] 
suspend_mode  [RW]  Suspend mode
system_uri  [RW]  System connection information
tpm_model  [RW]  Sets the information for connecting to a host TPM device Only supports socket-based TPMs
tpm_path  [RW] 
tpm_type  [RW] 
uri  [RW]  will supercede most other options if provided
usbctl_dev  [RW]  USB controller
usbs  [RW]  USB device passthrough
username  [RW]  The username to access Libvirt.
uuid  [RW]  Domain specific settings used while creating new domain.
video_type  [RW] 
video_vram  [RW] 
volume_cache  [RW] 
watchdog_dev  [RW]  Watchdog device

Public Class methods

Public Instance methods

code to generate URI from a config moved out of the connect action

NOTE: this will run twice for each time it‘s needed- keep it idempotent

[Validate]