mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Ensure updating loader tag supported (#1494)
The loader tag is required when nvram is being enabled. Ensure it is marked as a requirement of validation and also support it's configuration during the start domain action.
This commit is contained in:
@@ -66,6 +66,7 @@ describe VagrantPlugins::ProviderLibvirt::Action::StartDomain do
|
||||
context 'when being added to existing' do
|
||||
let(:vagrantfile_providerconfig) do
|
||||
<<-EOF
|
||||
libvirt.loader = "/path/to/loader/file"
|
||||
libvirt.nvram = "/path/to/nvram/file"
|
||||
EOF
|
||||
end
|
||||
@@ -85,6 +86,7 @@ describe VagrantPlugins::ProviderLibvirt::Action::StartDomain do
|
||||
context 'when it was already in use' do
|
||||
let(:vagrantfile_providerconfig) do
|
||||
<<-EOF
|
||||
libvirt.loader = "/path/to/loader/file"
|
||||
libvirt.nvram = "/path/to/nvram/file"
|
||||
# change another setting to trigger the undefine/create
|
||||
libvirt.cpus = 4
|
||||
|
||||
Reference in New Issue
Block a user