Class: VagrantPlugins::ProviderZone::Config
- Inherits:
-
Object
- Object
- VagrantPlugins::ProviderZone::Config
- Defined in:
- lib/vagrant-zones/config.rb
Overview
This is used define the variables for the project
Instance Attribute Summary collapse
-
#acpi ⇒ Object
rubocop:disable Layout/LineLength.
-
#additional_disks ⇒ Object
rubocop:disable Layout/LineLength.
-
#alcheck ⇒ Object
rubocop:disable Layout/LineLength.
-
#allowed_address ⇒ Object
rubocop:disable Layout/LineLength.
-
#autoboot ⇒ Object
rubocop:disable Layout/LineLength.
-
#boot ⇒ Object
rubocop:disable Layout/LineLength.
-
#booted_string ⇒ Object
rubocop:disable Layout/LineLength.
-
#box ⇒ Object
rubocop:disable Layout/LineLength.
-
#boxshortname ⇒ Object
rubocop:disable Layout/LineLength.
-
#brand ⇒ Object
rubocop:disable Layout/LineLength.
-
#cdroms ⇒ Object
rubocop:disable Layout/LineLength.
-
#clean_shutdown_time ⇒ Object
rubocop:disable Layout/LineLength.
-
#cloud_init_conf ⇒ Object
rubocop:disable Layout/LineLength.
-
#cloud_init_dnsdomain ⇒ Object
rubocop:disable Layout/LineLength.
-
#cloud_init_enabled ⇒ Object
rubocop:disable Layout/LineLength.
-
#cloud_init_password ⇒ Object
rubocop:disable Layout/LineLength.
-
#cloud_init_resolvers ⇒ Object
rubocop:disable Layout/LineLength.
-
#cloud_init_sshkey ⇒ Object
rubocop:disable Layout/LineLength.
-
#complex_cpu_conf ⇒ Object
rubocop:disable Layout/LineLength.
-
#console ⇒ Object
rubocop:disable Layout/LineLength.
-
#console_onboot ⇒ Object
rubocop:disable Layout/LineLength.
-
#consolehost ⇒ Object
rubocop:disable Layout/LineLength.
-
#consoleport ⇒ Object
rubocop:disable Layout/LineLength.
-
#cpu_configuration ⇒ Object
rubocop:disable Layout/LineLength.
-
#cpus ⇒ Object
rubocop:disable Layout/LineLength.
-
#debug ⇒ Object
rubocop:disable Layout/LineLength.
-
#debug_boot ⇒ Object
rubocop:disable Layout/LineLength.
-
#dhcp4 ⇒ Object
rubocop:disable Layout/LineLength.
-
#disk1path ⇒ Object
rubocop:disable Layout/LineLength.
-
#disk1size ⇒ Object
rubocop:disable Layout/LineLength.
-
#diskif ⇒ Object
rubocop:disable Layout/LineLength.
-
#dns ⇒ Object
rubocop:disable Layout/LineLength.
-
#firmware_type ⇒ Object
rubocop:disable Layout/LineLength.
-
#hostbridge ⇒ Object
rubocop:disable Layout/LineLength.
-
#kernel ⇒ Object
rubocop:disable Layout/LineLength.
-
#lcheck ⇒ Object
rubocop:disable Layout/LineLength.
-
#login_wait ⇒ Object
rubocop:disable Layout/LineLength.
-
#memory ⇒ Object
rubocop:disable Layout/LineLength.
-
#netif ⇒ Object
rubocop:disable Layout/LineLength.
-
#on_demand_vnics ⇒ Object
rubocop:disable Layout/LineLength.
-
#os_type ⇒ Object
rubocop:disable Layout/LineLength.
-
#override ⇒ Object
rubocop:disable Layout/LineLength.
-
#partition_id ⇒ Object
rubocop:disable Layout/LineLength.
-
#post_provision_boot ⇒ Object
rubocop:disable Layout/LineLength.
-
#private_network ⇒ Object
rubocop:disable Layout/LineLength.
-
#rdpport ⇒ Object
rubocop:disable Layout/LineLength.
-
#safe_restart ⇒ Object
rubocop:disable Layout/LineLength.
-
#safe_shutdown ⇒ Object
rubocop:disable Layout/LineLength.
-
#setup_method ⇒ Object
rubocop:disable Layout/LineLength.
-
#setup_wait ⇒ Object
rubocop:disable Layout/LineLength.
-
#shared_dir ⇒ Object
rubocop:disable Layout/LineLength.
-
#shared_disk_enabled ⇒ Object
rubocop:disable Layout/LineLength.
-
#snapshot_script ⇒ Object
rubocop:disable Layout/LineLength.
-
#sshport ⇒ Object
rubocop:disable Layout/LineLength.
-
#vagrant_cloud_creator ⇒ Object
rubocop:disable Layout/LineLength.
-
#vagrant_user ⇒ Object
rubocop:disable Layout/LineLength.
-
#vagrant_user_pass ⇒ Object
rubocop:disable Layout/LineLength.
-
#vagrant_user_private_key_path ⇒ Object
rubocop:disable Layout/LineLength.
-
#vm_type ⇒ Object
rubocop:disable Layout/LineLength.
-
#winalcheck ⇒ Object
rubocop:disable Layout/LineLength.
-
#winbooted_string ⇒ Object
rubocop:disable Layout/LineLength.
-
#winlcheck ⇒ Object
rubocop:disable Layout/LineLength.
-
#xhci_enabled ⇒ Object
rubocop:disable Layout/LineLength.
-
#zunlockboot ⇒ Object
rubocop:disable Layout/LineLength.
-
#zunlockbootkey ⇒ Object
rubocop:disable Layout/LineLength.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
rubocop:enable Layout/LineLength.
Constructor Details
#initialize ⇒ Config
rubocop:enable Layout/LineLength
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/vagrant-zones/config.rb', line 14 def initialize super @brand = 'bhyve' @additional_disks = UNSET_VALUE @autoboot = true @post_provision_boot = false @kernel = nil @boxshortname = UNSET_VALUE @cdroms = nil @shared_dir = nil @os_type = 'generic' @lcheck = UNSET_VALUE @booted_string = UNSET_VALUE @winbooted_string = UNSET_VALUE @allowed_address = true @alcheck = 'login: ' @winalcheck = 'EVENT: The CMD command is now available.' @winlcheck = 'EVENT: The CMD command is now available.' @zunlockbootkey = '' @zunlockboot = 'Importing ZFS root pool' @safe_restart = nil @safe_shutdown = nil @debug_boot = nil @debug = nil @shared_disk_enabled = true @consoleport = nil @consolehost = '0.0.0.0' @console_onboot = 'false' @console = 'webvnc' @memory = '2G' @diskif = 'virtio-blk' @netif = 'virtio-net-viona' @cpus = 1 @cpu_configuration = 'simple' @complex_cpu_conf = UNSET_VALUE @boot = UNSET_VALUE @hostbridge = 'i440fx' @acpi = 'on' @setup_wait = 90 @on_demand_vnics = 'true' @box = UNSET_VALUE @clean_shutdown_time = 300 @vmtype = 'production' @partition_id = '0000' @sshport = '22' @rdpport = '3389' @vagrant_user = 'vagrant' @vagrant_user_pass = 'vagrant' @vagrant_user_private_key_path = './id_rsa' @xhci_enabled = 'off' @override = false @login_wait = 5 @cloud_init_enabled = false @cloud_init_conf = 'on' @cloud_init_dnsdomain = nil @cloud_init_password = nil @cloud_init_resolvers = nil @cloud_init_sshkey = nil @private_network = nil @firmware_type = 'compatability' @vm_type = 'production' @setup_method = nil @snapshot_script = '/opt/vagrant/bin/Snapshooter.sh' end |
Instance Attribute Details
#acpi ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def acpi @acpi end |
#additional_disks ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def additional_disks @additional_disks end |
#alcheck ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def alcheck @alcheck end |
#allowed_address ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def allowed_address @allowed_address end |
#autoboot ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def autoboot @autoboot end |
#boot ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def boot @boot end |
#booted_string ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def booted_string @booted_string end |
#box ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def box @box end |
#boxshortname ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def boxshortname @boxshortname end |
#brand ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def brand @brand end |
#cdroms ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def cdroms @cdroms end |
#clean_shutdown_time ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def clean_shutdown_time @clean_shutdown_time end |
#cloud_init_conf ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def cloud_init_conf @cloud_init_conf end |
#cloud_init_dnsdomain ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def cloud_init_dnsdomain @cloud_init_dnsdomain end |
#cloud_init_enabled ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def cloud_init_enabled @cloud_init_enabled end |
#cloud_init_password ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def cloud_init_password @cloud_init_password end |
#cloud_init_resolvers ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def cloud_init_resolvers @cloud_init_resolvers end |
#cloud_init_sshkey ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def cloud_init_sshkey @cloud_init_sshkey end |
#complex_cpu_conf ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def complex_cpu_conf @complex_cpu_conf end |
#console ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def console @console end |
#console_onboot ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def console_onboot @console_onboot end |
#consolehost ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def consolehost @consolehost end |
#consoleport ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def consoleport @consoleport end |
#cpu_configuration ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def cpu_configuration @cpu_configuration end |
#cpus ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def cpus @cpus end |
#debug ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def debug @debug end |
#debug_boot ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def debug_boot @debug_boot end |
#dhcp4 ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def dhcp4 @dhcp4 end |
#disk1path ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def disk1path @disk1path end |
#disk1size ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def disk1size @disk1size end |
#diskif ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def diskif @diskif end |
#dns ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def dns @dns end |
#firmware_type ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def firmware_type @firmware_type end |
#hostbridge ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def hostbridge @hostbridge end |
#kernel ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def kernel @kernel end |
#lcheck ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def lcheck @lcheck end |
#login_wait ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def login_wait @login_wait end |
#memory ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def memory @memory end |
#netif ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def netif @netif end |
#on_demand_vnics ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def on_demand_vnics @on_demand_vnics end |
#os_type ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def os_type @os_type end |
#override ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def override @override end |
#partition_id ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def partition_id @partition_id end |
#post_provision_boot ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def post_provision_boot @post_provision_boot end |
#private_network ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def private_network @private_network end |
#rdpport ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def rdpport @rdpport end |
#safe_restart ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def safe_restart @safe_restart end |
#safe_shutdown ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def safe_shutdown @safe_shutdown end |
#setup_method ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def setup_method @setup_method end |
#setup_wait ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def setup_wait @setup_wait end |
#shared_dir ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def shared_dir @shared_dir end |
#shared_disk_enabled ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def shared_disk_enabled @shared_disk_enabled end |
#snapshot_script ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def snapshot_script @snapshot_script end |
#sshport ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def sshport @sshport end |
#vagrant_cloud_creator ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def vagrant_cloud_creator @vagrant_cloud_creator end |
#vagrant_user ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def vagrant_user @vagrant_user end |
#vagrant_user_pass ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def vagrant_user_pass @vagrant_user_pass end |
#vagrant_user_private_key_path ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def vagrant_user_private_key_path @vagrant_user_private_key_path end |
#vm_type ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def vm_type @vm_type end |
#winalcheck ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def winalcheck @winalcheck end |
#winbooted_string ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def winbooted_string @winbooted_string end |
#winlcheck ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def winlcheck @winlcheck end |
#xhci_enabled ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def xhci_enabled @xhci_enabled end |
#zunlockboot ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def zunlockboot @zunlockboot end |
#zunlockbootkey ⇒ Object
rubocop:disable Layout/LineLength
10 11 12 |
# File 'lib/vagrant-zones/config.rb', line 10 def zunlockbootkey @zunlockbootkey end |