diff --git a/pkg/compute/hostdrivers/aws.go b/pkg/compute/hostdrivers/aws.go index 63d5d95312..a0ff3f48d0 100644 --- a/pkg/compute/hostdrivers/aws.go +++ b/pkg/compute/hostdrivers/aws.go @@ -12,6 +12,11 @@ type SAwsHostDriver struct { SManagedVirtualizationHostDriver } +func init() { + driver := SAwsHostDriver{} + models.RegisterHostDriver(&driver) +} + func (self *SAwsHostDriver) GetHostType() string { return models.HOST_TYPE_AWS }