From f67e1e9779f0276c73628bd9ad7c7a20c64345cc Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Mon, 9 Jan 2023 11:44:53 +0100 Subject: [PATCH] tests: address a warning deprecation (vagrant) In order to address the following warning from vagrant: ``` Libvirt Provider: volume_cache is deprecated. Use disk_driver :cache => 'unsafe' instead. ``` Signed-off-by: Guillaume Abrioux (cherry picked from commit 39b04941613452c69a596c25fcd1097f98a1b299) --- tests/functional/Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/Vagrantfile b/tests/functional/Vagrantfile index 8297b10..5874903 100644 --- a/tests/functional/Vagrantfile +++ b/tests/functional/Vagrantfile @@ -31,7 +31,7 @@ Vagrant.configure('2') do |config| config.ssh.username = 'vagrant' config.vm.provider :libvirt do |lv| lv.cpu_mode = 'host-passthrough' - lv.volume_cache = 'unsafe' + lv.disk_driver :cache => 'unsafe' lv.graphics_type = 'none' lv.cpus = 4 end