-
Notifications
You must be signed in to change notification settings - Fork 2k
RedHat provisioning #1090
RedHat provisioning #1090
Changes from all commits
26432b7
da7ac61
18cfe58
9e9c0f1
c46e794
ff2c057
0920a2d
0dbfcd5
380aaa2
bf7a5f2
f17556b
b4fa9f1
7998852
8e9ce9c
cab167c
065982b
30ace67
5229643
93b4799
3385e4e
b43a72f
fb35d58
619fcfb
5707f13
3ef6af1
d993437
86687cf
467cb60
d2ca73c
9bdd11e
25c3e3a
c295217
a0e40ab
a0fe652
6426ec8
97b6cd1
0530ab3
a8e2cd7
12de02a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1110,6 +1110,8 @@ Options: | |
|
||
The DigitalOcean driver will use `ubuntu-14-04-x64` as the default image. | ||
|
||
<<<<<<< HEAD | ||
<<<<<<< HEAD | ||
Environment variables and default values: | ||
|
||
| CLI option | Environment variable | Default | | ||
|
@@ -1121,6 +1123,21 @@ Environment variables and default values: | |
| `--digitalocean-ipv6` | `DIGITALOCEAN_IPV6` | `false` | | ||
| `--digitalocean-private-networking` | `DIGITALOCEAN_PRIVATE_NETWORKING` | `false` | | ||
| `--digitalocean-backups` | `DIGITALOCEAN_BACKUPS` | `false` | | ||
======= | ||
#### exoscale | ||
Create machines on [exoscale](https://www.exoscale.ch/). | ||
|
||
Get your API key and API secret key from [API details](https://portal.exoscale.ch/account/api) and pass them to `machine create` with the `--exoscale-api-key` and `--exoscale-api-secret-key` options. | ||
|
||
Options: | ||
|
||
- `--exoscale-api-key`: Your API key. | ||
- `--exoscale-api-secret-key`: Your API secret key. | ||
- `--exoscale-instance-profile`: Instance profile. Default: `small`. | ||
- `--exoscale-disk-size`: Disk size for the host in GB. Default: `50`. | ||
- `--exoscale-security-group`: Security group. It will be created if it doesn't exist. Default: `docker-machine`. | ||
|
||
If a custom security group is provided, you need to ensure that you allow TCP port 2376 in an ingress rule. | ||
|
||
#### Generic | ||
Create machines using an existing VM/Host with SSH. | ||
|
@@ -1513,6 +1530,8 @@ Options: | |
|
||
The VMware vSphere driver uses the latest boot2docker image. | ||
|
||
<<<<<<< HEAD | ||
<<<<<<< HEAD | ||
Environment variables and default values: | ||
|
||
| CLI option | Environment variable | Default | | ||
|
@@ -1563,6 +1582,16 @@ Environment variables and default values: | |
| `--exoscale-availability-zone` | `EXOSCALE_AVAILABILITY_ZONE` | `ch-gva-2` | | ||
| `--exoscale-keypair` | `EXOSCALE_KEYPAIR` | - | | ||
|
||
======= | ||
|
||
## Base Operating Systems | ||
The default base operating system for Machine is Boot2Docker on local providers | ||
(VirtualBox, Fusion, Hyper-V, etc) and the latest Ubuntu LTS supported | ||
by the cloud provider. RedHat Enterprise Linux is also supported. To use | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Might want to clarify that RHEL/CentOS 7+ is supported... Last I checked (which was a long while ago), the packages for RHEL/CentOS 6.x were super-old. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good point. And actually, it's just RHEL 7+ at the moment (CentOS behaves slightly differently). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oh, I guess because of the RHN stuff? It'd probably be a good idea to get CentOS support in here before too long, but maybe as a follow-up, not necessarily this PR. |
||
RHEL, you will need to select the image accordingly with the provider. For | ||
example, in Amazon EC2, you could use a RedHat 7.1 AMI ("ami-12663b7a") as the | ||
`--amazonec2-ami` option which create an instance using RHEL 7.1 64-bit. | ||
|
||
## Release Notes | ||
|
||
### Version 0.2.0 (April 16, 2015) | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package provision | ||
|
||
import ( | ||
"github.com/docker/machine/drivers" | ||
) | ||
|
||
const ( | ||
// TODO: eventually the RPM install process will be integrated | ||
// into the get.docker.com install script; for now | ||
// we install via vendored RPMs | ||
dockerCentosRPMPath = "https://docker-mcn.s3.amazonaws.com/public/redhat/rpms/docker-engine-1.6.1-0.0.20150511.171646.git1b47f9f.el7.centos.x86_64.rpm" | ||
) | ||
|
||
func init() { | ||
Register("Centos", &RegisteredProvisioner{ | ||
New: NewCentosProvisioner, | ||
}) | ||
} | ||
|
||
func NewCentosProvisioner(d drivers.Driver) Provisioner { | ||
g := GenericProvisioner{ | ||
DockerOptionsDir: "/etc/docker", | ||
DaemonOptionsFile: "/etc/systemd/system/docker.service", | ||
OsReleaseId: "centos", | ||
Packages: []string{}, | ||
Driver: d, | ||
} | ||
p := &CentosProvisioner{ | ||
RedHatProvisioner{ | ||
GenericProvisioner: g, | ||
DockerRPMPath: dockerCentosRPMPath, | ||
}, | ||
} | ||
return p | ||
} | ||
|
||
type CentosProvisioner struct { | ||
RedHatProvisioner | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package provision | ||
|
||
import ( | ||
"github.com/docker/machine/drivers" | ||
) | ||
|
||
const ( | ||
// TODO: eventually the RPM install process will be integrated | ||
// into the get.docker.com install script; for now | ||
// we install via vendored RPMs | ||
dockerFedoraRPMPath = "https://docker-mcn.s3.amazonaws.com/public/fedora/rpms/docker-engine-1.6.1-0.0.20150511.171646.git1b47f9f.fc21.x86_64.rpm" | ||
) | ||
|
||
func init() { | ||
Register("Fedora", &RegisteredProvisioner{ | ||
New: NewFedoraProvisioner, | ||
}) | ||
} | ||
|
||
func NewFedoraProvisioner(d drivers.Driver) Provisioner { | ||
g := GenericProvisioner{ | ||
DockerOptionsDir: "/etc/docker", | ||
DaemonOptionsFile: "/etc/systemd/system/docker.service", | ||
OsReleaseId: "fedora", | ||
Packages: []string{}, | ||
Driver: d, | ||
} | ||
p := &FedoraProvisioner{ | ||
RedHatProvisioner{ | ||
GenericProvisioner: g, | ||
DockerRPMPath: dockerFedoraRPMPath, | ||
}, | ||
} | ||
return p | ||
} | ||
|
||
type FedoraProvisioner struct { | ||
RedHatProvisioner | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For alphabetical order, or...?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes it was listed out of order from one of the rebases.