Ensure open3 required and qemu-utils in docker (#1306)

Depending on load order of libraries as well as version of ruby, need to
require open3 before attempting to reference `Open3`.

There is an additional dependency on qemu-utils to dynamically retrieve
the image information to provide the virtual size and format
automatically. Add this to the docker image to ensure it's available for
users of this distribution format.

Fixes: #1305
This commit is contained in:
Darragh Bailey
2021-06-07 15:31:18 +01:00
committed by GitHub
parent af738b84eb
commit e9f5f028a3
2 changed files with 2 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ RUN apt update \
kmod \ kmod \
libvirt-bin \ libvirt-bin \
openssh-client \ openssh-client \
qemu-utils \
rsync \ rsync \
&& rm -rf /var/lib/apt/lists \ && rm -rf /var/lib/apt/lists \
; ;

View File

@@ -1,4 +1,5 @@
require 'log4r' require 'log4r'
require 'open3'
module VagrantPlugins module VagrantPlugins
module ProviderLibvirt module ProviderLibvirt