]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
Vagrantfile: address deprecation warning
authorGuillaume Abrioux <gabrioux@redhat.com>
Sat, 24 Sep 2022 06:38:31 +0000 (08:38 +0200)
committerTeoman ONAY <tonay@redhat.com>
Wed, 31 May 2023 21:07:13 +0000 (23:07 +0200)
```
==> mgr0: Libvirt Provider: volume_cache is deprecated. Use disk_driver
:cache => 'unsafe' instead.
```

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
Vagrantfile

index 72e891f1b4446cd14472e7f0cfa89e7e09a24767..49742c7c8bbf9cc5b689fc2e7fa40ea57a6819de 100644 (file)
@@ -133,7 +133,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
   # "host doesn't support requested feature: CPUID.01H:EDX.ds [bit 21]"
   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 = 2
   end