training-labs/labs/stacktrain
Roger Luethi e246560cab Fix disk multiattach with VirtualBox 6
Starting with version 6.0, the behavior of VirtualBox with regards to
disk multiattach changed.

The result are error messages like:
  VBoxManage: error: Cannot change type for medium '<base_disk_path>':
  the media type 'MultiAttach' can only be used on media registered
  with a machine that was created with VirtualBox 4.0 or later

The new code should work for both VirtualBox 6 and older versions.

The workaround suggests that we may not be using the VirtualBox volumes
the way they are meant to be used, but with scant documentation out
there rewriting the volume logic may result in no improvement at all,
so let's leave it at that for the time being.

backport: rocky queens pike ocata

Closes-Bug: 1817584

Change-Id: I9307d2e0f077539c118f540a9b0a4358e4f3b459
(cherry picked from commit e4dec38469)
2019-05-25 06:29:34 +00:00
..
batch_for_windows_templates Merge "Dynamic interface names for Windows batch scripts" 2017-06-16 12:15:26 +00:00
config Copy lib, config directories only once per run and node 2017-07-19 08:17:32 +00:00
core pep8 fix 2018-02-21 07:36:58 +01:00
distros opendev migration for xenial preseed 2019-05-10 08:47:12 +00:00
kvm Fix KEY_SHIFT keycode for libvirt 2018-02-05 17:02:09 +01:00
tests Python port of osbash 2016-12-18 11:47:44 +00:00
virtualbox Fix disk multiattach with VirtualBox 6 2019-05-25 06:29:34 +00:00
__init__.py Python port of osbash 2016-12-18 11:47:44 +00:00
batch_for_windows.py Dynamic interface names for Windows batch scripts 2017-05-27 12:13:13 +02:00
setup.py Python port of osbash 2016-12-18 11:47:44 +00:00