Call DetectProvisioner for the generic driver

It was failing to install the "docker" package

Since the provisioning was defaulting to ISO
pull/10099/head
Anders F Björklund 2020-10-28 22:23:29 +01:00
parent d0260cca99
commit d3ea174619
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ func fastDetectProvisioner(h *host.Host) (libprovision.Provisioner, error) {
switch {
case driver.IsKIC(d):
return provision.NewUbuntuProvisioner(h.Driver), nil
case driver.BareMetal(d):
case driver.BareMetal(d), d == driver.Generic:
return libprovision.DetectProvisioner(h.Driver)
default:
return provision.NewBuildrootProvisioner(h.Driver), nil