Created
March 11, 2020 22:23
-
-
Save dhrp/0d5ff87c71b01231f6009d2293e95121 to your computer and use it in GitHub Desktop.
Main file to build rancher/machine/drivers/openstack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
// This file is simply to build the rancher openstack driver. | |
// it's for the latest openstack (train) as we're using at GreenEdge | |
// It is required because the openstack driver is otherwise included | |
// by default in the docker-machine binary. | |
// Simply put it somewhere, and build it with | |
// go build -o docker-machine-driver-greenedge and then use it like | |
// docker-machine create --driver greenedge [etc] | |
import ( | |
"github.com/rancher/machine/drivers/openstack" | |
"github.com/rancher/machine/libmachine/drivers/plugin" | |
) | |
func main() { | |
plugin.RegisterDriver(openstack.NewDriver("", "")) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment