On Sat, Feb 13, 2021 at 11:57:52PM +0100, Thomas Lange wrote: > IMO we cannot know which device name is used by the users virtualisation > environment. > So, what is the be setting without knowing the device name? > > Or is /dev/sda used in most enviroments?
For VirtualBox sda is a pretty safe bet, for libvirt it'd be either sda or vda (and I think we could set both in debconf, as that's a multiselect). AWS has another one, vxda I think? But this explicit bug is about vagrant (so virtualbox and libvirt) only anyways. The only thing to consider with this approach: it should only be done when preparing images, not installing "real" systems. So in the cloud.d.o context that's safe, but probably not as a generic default in FAI and other tools.