Skip to content
Snippets Groups Projects
Commit c7749fd2 authored by Marcin Żbik's avatar Marcin Żbik Committed by Elliot Rushton
Browse files

Allow provisioning to Amazon linux

parent 8e28ddb0
No related branches found
No related tags found
No related merge requests found
package provision
import (
"github.com/docker/machine/libmachine/drivers"
)
func init() {
Register("Amazon Linux 2", &RegisteredProvisioner{
New: NewAmazonLinuxProvisioner,
})
}
func NewAmazonLinuxProvisioner(d drivers.Driver) Provisioner {
return &AmazonLinuxProvisioner{
NewRedHatProvisioner("amzn", d),
}
}
type AmazonLinuxProvisioner struct {
*RedHatProvisioner
}
func (provisioner *AmazonLinuxProvisioner) String() string {
return "amzn"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment