mirror of https://github.com/docker/docs.git
redhat: remove aws check; update docs
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
parent
380aaa2670
commit
bf7a5f2f53
|
@ -1388,7 +1388,7 @@ 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
|
||||
RHEL, you will need to select the image accordingly with the provider. For
|
||||
example, in Amazon EC2, you could use "ami-12663b7a" as the
|
||||
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
|
||||
|
|
|
@ -91,14 +91,6 @@ func (provisioner *RedHatProvisioner) Package(name string, action pkgaction.Pack
|
|||
return nil
|
||||
}
|
||||
|
||||
func (provisioner *RedHatProvisioner) isAWS() bool {
|
||||
if _, err := provisioner.SSHCommand("curl -s http://169.254.169.254/latest/meta-data/ami-id"); err != nil {
|
||||
return false
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
func installDocker(provisioner *RedHatProvisioner) error {
|
||||
if err := provisioner.installOfficialDocker(); err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue