Vagrantfile: address deprecation warning

```
==> mgr0: Libvirt Provider: volume_cache is deprecated. Use disk_driver
:cache => 'unsafe' instead.
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/7431/head
Guillaume Abrioux 2022-09-24 08:38:31 +02:00 committed by Teoman ONAY
parent aaa9f1d291
commit 86ab93efbb
1 changed files with 1 additions and 1 deletions

2
Vagrantfile vendored
View File

@ -133,7 +133,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# "host doesn't support requested feature: CPUID.01H:EDX.ds [bit 21]" # "host doesn't support requested feature: CPUID.01H:EDX.ds [bit 21]"
config.vm.provider :libvirt do |lv| config.vm.provider :libvirt do |lv|
lv.cpu_mode = 'host-passthrough' lv.cpu_mode = 'host-passthrough'
lv.volume_cache = 'unsafe' lv.disk_driver :cache => 'unsafe'
lv.graphics_type = 'none' lv.graphics_type = 'none'
lv.cpus = 2 lv.cpus = 2
end end