mirror of https://github.com/docker/docs.git
Hyper-V now only build on Windows.
Signed-off-by: Jeff Mendoza <jeffmendoza@live.com>
This commit is contained in:
parent
ee0e29febe
commit
edccb4a643
|
@ -18,7 +18,6 @@ import (
|
||||||
_ "github.com/docker/machine/drivers/azure"
|
_ "github.com/docker/machine/drivers/azure"
|
||||||
_ "github.com/docker/machine/drivers/digitalocean"
|
_ "github.com/docker/machine/drivers/digitalocean"
|
||||||
_ "github.com/docker/machine/drivers/google"
|
_ "github.com/docker/machine/drivers/google"
|
||||||
_ "github.com/docker/machine/drivers/hyperv"
|
|
||||||
_ "github.com/docker/machine/drivers/none"
|
_ "github.com/docker/machine/drivers/none"
|
||||||
_ "github.com/docker/machine/drivers/openstack"
|
_ "github.com/docker/machine/drivers/openstack"
|
||||||
_ "github.com/docker/machine/drivers/rackspace"
|
_ "github.com/docker/machine/drivers/rackspace"
|
||||||
|
|
|
@ -211,7 +211,7 @@ func (d *Driver) Create() error {
|
||||||
|
|
||||||
log.Infof("Adding key to authorized-keys.d...")
|
log.Infof("Adding key to authorized-keys.d...")
|
||||||
|
|
||||||
if err := drivers.AddPublicKeyToAuthorizedHosts(d, "/root/.docker/authorized-keys.d"); err != nil {
|
if err := drivers.AddPublicKeyToAuthorizedHosts(d, "/var/lib/docker/auth.d"); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import _ "github.com/docker/machine/drivers/hyperv"
|
Loading…
Reference in New Issue