training-labs/labs
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
..
osbash Remove commented (obsolete) code 2019-03-05 14:57:26 +01:00
stacktrain Fix disk multiattach with VirtualBox 6 2019-05-25 06:29:34 +00:00
tests Python port of osbash 2016-12-18 11:47:44 +00:00
.pylintrc Python port of osbash 2016-12-18 11:47:44 +00:00
autostart Python port of osbash 2016-12-18 11:47:44 +00:00
config Python port of osbash 2016-12-18 11:47:44 +00:00
lib Python port of osbash 2016-12-18 11:47:44 +00:00
scripts Python port of osbash 2016-12-18 11:47:44 +00:00
st.py Merge "Stop cluster VMs when building basedisk" 2017-05-25 10:42:15 +00:00
tools Python port of osbash 2016-12-18 11:47:44 +00:00
wbatch Add symlink for zip file generation 2018-02-14 15:56:57 +01:00