Merge pull request #2488 from trecloux/2361-ubuntu-15.10-base-images

Update default images to ubuntu 15.10
This commit is contained in:
Nathan LeClaire 2015-12-04 13:51:59 -08:00
commit dac327f167
12 changed files with 50 additions and 49 deletions

View File

@ -55,17 +55,17 @@ By default, the Amazon EC2 driver will use a daily image of Ubuntu 14.04 LTS.
| Region | AMI ID | | Region | AMI ID |
| -------------- | ------------ | | -------------- | ------------ |
| ap-northeast-1 | ami-f4b06cf4 | | ap-northeast-1 | ami-b36d4edd |
| ap-southeast-1 | ami-b899a2ea | | ap-southeast-1 | ami-1069af73 |
| ap-southeast-2 | ami-b59ce48f | | ap-southeast-2 | ami-1d336a7e |
| cn-north-1 | ami-da930ee3 | | cn-north-1 | ami-79eb2214 |
| eu-west-1 | ami-45d8a532 | | eu-west-1 | ami-8aa67cf9 |
| eu-central-1 | ami-b6e0d9ab | | eu-central-1 | ami-ab0210c7 |
| sa-east-1 | ami-1199190c | | sa-east-1 | ami-185de774 |
| us-east-1 | ami-5f709f34 | | us-east-1 | ami-26d5af4c |
| us-west-1 | ami-615cb725 | | us-west-1 | ami-9cbcd2fc |
| us-west-2 | ami-7f675e4f | | us-west-2 | ami-16b1a077 |
| us-gov-west-1 | ami-99a9c9ba | | us-gov-west-1 | ami-b0bad893 |
Environment variables and default values: Environment variables and default values:

View File

@ -25,9 +25,9 @@ Grab your subscription ID from the portal, then run `docker-machine create` with
$ docker-machine create -d azure --azure-subscription-id="SUB_ID" --azure-subscription-cert="mycert.pem" A-VERY-UNIQUE-NAME $ docker-machine create -d azure --azure-subscription-id="SUB_ID" --azure-subscription-cert="mycert.pem" A-VERY-UNIQUE-NAME
The Azure driver uses the `b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04_1-LTS-amd64-server-20140927-en-us-30GB` The Azure driver uses the `b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-15_10-amd64-server-20151116.1-en-us-30GB`
image by default. Note, this image is not available in the Chinese regions. In China you should image by default. Note, this image is not available in the Chinese regions. In China you should
specify `b549f4301d0b4295b8e76ceb65df47d4__Ubuntu-14_04_1-LTS-amd64-server-20140927-en-us-30GB`. specify `b549f4301d0b4295b8e76ceb65df47d4__Ubuntu-15_10-amd64-server-20151116.1-en-us-30GB`.
You may need to `machine ssh` in to the virtual machine and reboot to ensure that the OS is updated. You may need to `machine ssh` in to the virtual machine and reboot to ensure that the OS is updated.
@ -49,7 +49,7 @@ Environment variables and default values:
| CLI option | Environment variable | Default | | CLI option | Environment variable | Default |
| ------------------------------- | ----------------------------- | ---------------------- | | ------------------------------- | ----------------------------- | ---------------------- |
| `--azure-docker-port` | - | `2376` | | `--azure-docker-port` | - | `2376` |
| `--azure-image` | `AZURE_IMAGE` | _Ubuntu 14.04 LTS x64_ | | `--azure-image` | `AZURE_IMAGE` | _Ubuntu 15.10 x64_ |
| `--azure-location` | `AZURE_LOCATION` | `West US` | | `--azure-location` | `AZURE_LOCATION` | `West US` |
| `--azure-password` | - | - | | `--azure-password` | - | - |
| `--azure-publish-settings-file` | `AZURE_PUBLISH_SETTINGS_FILE` | - | | `--azure-publish-settings-file` | `AZURE_PUBLISH_SETTINGS_FILE` | - |

View File

@ -28,17 +28,17 @@ Options:
- `--digitalocean-backups`: Enable Digital Oceans backups for the droplet. - `--digitalocean-backups`: Enable Digital Oceans backups for the droplet.
- `--digitalocean-userdata`: Path to file containing User Data for the droplet. - `--digitalocean-userdata`: Path to file containing User Data for the droplet.
The DigitalOcean driver will use `ubuntu-14-04-x64` as the default image. The DigitalOcean driver will use `ubuntu-15-10-x64` as the default image.
Environment variables and default values: Environment variables and default values:
| CLI option | Environment variable | Default | | CLI option | Environment variable | Default |
| ----------------------------------- | --------------------------------- | -------- | | ----------------------------------- | --------------------------------- | ------------------ |
| **`--digitalocean-access-token`** | `DIGITALOCEAN_ACCESS_TOKEN` | - | | **`--digitalocean-access-token`** | `DIGITALOCEAN_ACCESS_TOKEN` | - |
| `--digitalocean-image` | `DIGITALOCEAN_IMAGE` | `docker` | | `--digitalocean-image` | `DIGITALOCEAN_IMAGE` | `ubuntu-15-10-x64` |
| `--digitalocean-region` | `DIGITALOCEAN_REGION` | `nyc3` | | `--digitalocean-region` | `DIGITALOCEAN_REGION` | `nyc3` |
| `--digitalocean-size` | `DIGITALOCEAN_SIZE` | `512mb` | | `--digitalocean-size` | `DIGITALOCEAN_SIZE` | `512mb` |
| `--digitalocean-ipv6` | `DIGITALOCEAN_IPV6` | `false` | | `--digitalocean-ipv6` | `DIGITALOCEAN_IPV6` | `false` |
| `--digitalocean-private-networking` | `DIGITALOCEAN_PRIVATE_NETWORKING` | `false` | | `--digitalocean-private-networking` | `DIGITALOCEAN_PRIVATE_NETWORKING` | `false` |
| `--digitalocean-backups` | `DIGITALOCEAN_BACKUPS` | `false` | | `--digitalocean-backups` | `DIGITALOCEAN_BACKUPS` | `false` |
| `--digitalocean-userdata` | `DIGITALOCEAN_USERDATA` | - | | `--digitalocean-userdata` | `DIGITALOCEAN_USERDATA` | - |

View File

@ -36,6 +36,6 @@ Environment variables and default values:
| **`--exoscale-api-secret-key`** | `EXOSCALE_API_SECRET` | - | | **`--exoscale-api-secret-key`** | `EXOSCALE_API_SECRET` | - |
| `--exoscale-instance-profile` | `EXOSCALE_INSTANCE_PROFILE` | `small` | | `--exoscale-instance-profile` | `EXOSCALE_INSTANCE_PROFILE` | `small` |
| `--exoscale-disk-size` | `EXOSCALE_DISK_SIZE` | `50` | | `--exoscale-disk-size` | `EXOSCALE_DISK_SIZE` | `50` |
| `--exoscale-image` | `EXOSCALE_IMAGE` | `ubuntu-14.04` | | `--exoscale-image` | `EXOSCALE_IMAGE` | `ubuntu-15.10` |
| `--exoscale-security-group` | `EXOSCALE_SECURITY_GROUP` | `docker-machine` | | `--exoscale-security-group` | `EXOSCALE_SECURITY_GROUP` | `docker-machine` |
| `--exoscale-availability-zone` | `EXOSCALE_AVAILABILITY_ZONE` | `ch-gva-2` | | `--exoscale-availability-zone` | `EXOSCALE_AVAILABILITY_ZONE` | `ch-gva-2` |

View File

@ -51,7 +51,7 @@ To create a machine instance, specify `--driver google`, the project id and the
- `--google-tags`: Instance tags (comma-separated). - `--google-tags`: Instance tags (comma-separated).
- `--google-use-internal-ip`: When this option is used during create it will make docker-machine use internal rather than public NATed IPs. The flag is persistent in the sense that a machine created with it retains the IP. It's useful for managing docker machines from another machine on the same network e.g. while deploying swarm. - `--google-use-internal-ip`: When this option is used during create it will make docker-machine use internal rather than public NATed IPs. The flag is persistent in the sense that a machine created with it retains the IP. It's useful for managing docker machines from another machine on the same network e.g. while deploying swarm.
The GCE driver will use the `ubuntu-1404-trusty-v20151113` instance image unless otherwise specified. To obtain a The GCE driver will use the `ubuntu-1510-wily-v20151114` instance image unless otherwise specified. To obtain a
list of image URLs run: list of image URLs run:
gcloud compute images list --uri gcloud compute images list --uri
@ -63,7 +63,7 @@ Environment variables and default values:
| **`--google-project`** | `GOOGLE_PROJECT` | - | | **`--google-project`** | `GOOGLE_PROJECT` | - |
| `--google-zone` | `GOOGLE_ZONE` | `us-central1-a` | | `--google-zone` | `GOOGLE_ZONE` | `us-central1-a` |
| `--google-machine-type` | `GOOGLE_MACHINE_TYPE` | `f1-standard-1` | | `--google-machine-type` | `GOOGLE_MACHINE_TYPE` | `f1-standard-1` |
| `--google-machine-image` | `GOOGLE_MACHINE_IMAGE` | `ubuntu-1404-trusty-v20151113` | | `--google-machine-image` | `GOOGLE_MACHINE_IMAGE` | `ubuntu-1510-wily-v20151114` |
| `--google-username` | `GOOGLE_USERNAME` | `docker-user` | | `--google-username` | `GOOGLE_USERNAME` | `docker-user` |
| `--google-scopes` | `GOOGLE_SCOPES` | `devstorage.read_only,logging.write` | | `--google-scopes` | `GOOGLE_SCOPES` | `devstorage.read_only,logging.write` |
| `--google-disk-size` | `GOOGLE_DISK_SIZE` | `10` | | `--google-disk-size` | `GOOGLE_DISK_SIZE` | `10` |

View File

@ -18,13 +18,13 @@ Options:
- `--rackspace-api-key`: **required** Rackspace API key. - `--rackspace-api-key`: **required** Rackspace API key.
- `--rackspace-region`: **required** Rackspace region name. - `--rackspace-region`: **required** Rackspace region name.
- `--rackspace-endpoint-type`: Rackspace endpoint type (`adminURL`, `internalURL` or the default `publicURL`). - `--rackspace-endpoint-type`: Rackspace endpoint type (`adminURL`, `internalURL` or the default `publicURL`).
- `--rackspace-image-id`: Rackspace image ID. Default: Ubuntu 14.10 (Utopic Unicorn) (PVHVM). - `--rackspace-image-id`: Rackspace image ID. Default: Ubuntu 15.10 (Wily Werewolf) (PVHVM).
- `--rackspace-flavor-id`: Rackspace flavor ID. Default: General Purpose 1GB. - `--rackspace-flavor-id`: Rackspace flavor ID. Default: General Purpose 1GB.
- `--rackspace-ssh-user`: SSH user for the newly booted machine. - `--rackspace-ssh-user`: SSH user for the newly booted machine.
- `--rackspace-ssh-port`: SSH port for the newly booted machine. - `--rackspace-ssh-port`: SSH port for the newly booted machine.
- `--rackspace-docker-install`: Set if Docker has to be installed on the machine. - `--rackspace-docker-install`: Set if Docker has to be installed on the machine.
The Rackspace driver will use `598a4282-f14b-4e50-af4c-b3e52749d9f9` (Ubuntu 14.04 LTS) by default. The Rackspace driver will use `59a3fadd-93e7-4674-886a-64883e17115f` (Ubuntu 15.10) by default.
Environment variables and default values: Environment variables and default values:
@ -34,7 +34,7 @@ Environment variables and default values:
| **`--rackspace-api-key`** | `OS_API_KEY` | - | | **`--rackspace-api-key`** | `OS_API_KEY` | - |
| **`--rackspace-region`** | `OS_REGION_NAME` | - | | **`--rackspace-region`** | `OS_REGION_NAME` | - |
| `--rackspace-endpoint-type` | `OS_ENDPOINT_TYPE` | `publicURL` | | `--rackspace-endpoint-type` | `OS_ENDPOINT_TYPE` | `publicURL` |
| `--rackspace-image-id` | - | `598a4282-f14b-4e50-af4c-b3e52749d9f9` | | `--rackspace-image-id` | - | `59a3fadd-93e7-4674-886a-64883e17115f` |
| `--rackspace-flavor-id` | `OS_FLAVOR_ID` | `general1-1` | | `--rackspace-flavor-id` | `OS_FLAVOR_ID` | `general1-1` |
| `--rackspace-ssh-user` | - | `root` | | `--rackspace-ssh-user` | - | `root` |
| `--rackspace-ssh-port` | - | `22` | | `--rackspace-ssh-port` | - | `22` |

View File

@ -16,19 +16,20 @@ type region struct {
AmiId string AmiId string
} }
// Release 20150603 // Release 15.10 20151116.1
// See https://cloud-images.ubuntu.com/locator/ec2/
var regionDetails map[string]*region = map[string]*region{ var regionDetails map[string]*region = map[string]*region{
"ap-northeast-1": {"ami-f4b06cf4"}, "ap-northeast-1": {"ami-b36d4edd"},
"ap-southeast-1": {"ami-b899a2ea"}, "ap-southeast-1": {"ami-1069af73"},
"ap-southeast-2": {"ami-b59ce48f"}, "ap-southeast-2": {"ami-1d336a7e"},
"cn-north-1": {"ami-da930ee3"}, "cn-north-1": {"ami-79eb2214"},
"eu-west-1": {"ami-45d8a532"}, "eu-west-1": {"ami-8aa67cf9"},
"eu-central-1": {"ami-b6e0d9ab"}, "eu-central-1": {"ami-ab0210c7"},
"sa-east-1": {"ami-1199190c"}, "sa-east-1": {"ami-185de774"},
"us-east-1": {"ami-5f709f34"}, "us-east-1": {"ami-26d5af4c"},
"us-west-1": {"ami-615cb725"}, "us-west-1": {"ami-9cbcd2fc"},
"us-west-2": {"ami-7f675e4f"}, "us-west-2": {"ami-16b1a077"},
"us-gov-west-1": {"ami-99a9c9ba"}, "us-gov-west-1": {"ami-b0bad893"},
} }
func awsRegionsList() []string { func awsRegionsList() []string {

View File

@ -163,7 +163,7 @@ func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error {
} }
if image == "" { if image == "" {
d.Image = "b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-14_04_1-LTS-amd64-server-20140927-en-us-30GB" d.Image = "b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-15_10-amd64-server-20151116.1-en-us-30GB"
} else { } else {
d.Image = image d.Image = image
} }

View File

@ -32,7 +32,7 @@ type Driver struct {
} }
const ( const (
defaultImage = "ubuntu-14-04-x64" defaultImage = "ubuntu-15-10-x64"
defaultRegion = "nyc3" defaultRegion = "nyc3"
defaultSize = "512mb" defaultSize = "512mb"
) )

View File

@ -35,7 +35,7 @@ type Driver struct {
const ( const (
defaultInstanceProfile = "small" defaultInstanceProfile = "small"
defaultDiskSize = 50 defaultDiskSize = 50
defaultImage = "ubuntu-14.04" defaultImage = "ubuntu-15.10"
defaultAvailabilityZone = "ch-gva-2" defaultAvailabilityZone = "ch-gva-2"
) )

View File

@ -32,7 +32,7 @@ const (
defaultZone = "us-central1-a" defaultZone = "us-central1-a"
defaultUser = "docker-user" defaultUser = "docker-user"
defaultMachineType = "n1-standard-1" defaultMachineType = "n1-standard-1"
defaultImageName = "https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/images/ubuntu-1404-trusty-v20151113" defaultImageName = "https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/images/ubuntu-1510-wily-v20151114"
defaultScopes = "https://www.googleapis.com/auth/devstorage.read_only,https://www.googleapis.com/auth/logging.write" defaultScopes = "https://www.googleapis.com/auth/devstorage.read_only,https://www.googleapis.com/auth/logging.write"
defaultDiskType = "pd-standard" defaultDiskType = "pd-standard"
defaultDiskSize = 10 defaultDiskSize = 10

View File

@ -136,10 +136,10 @@ func (d *Driver) SetConfigFromFlags(flags drivers.DriverOptions) error {
} }
if d.ImageId == "" { if d.ImageId == "" {
// Default to the Ubuntu 14.04 image. // Default to the Ubuntu 15.10 image.
// This is done here, rather than in the option registration, to keep the default value // This is done here, rather than in the option registration, to keep the default value
// from making "machine create --help" ugly. // from making "machine create --help" ugly.
d.ImageId = "598a4282-f14b-4e50-af4c-b3e52749d9f9" d.ImageId = "59a3fadd-93e7-4674-886a-64883e17115f"
} }
if d.EndpointType != "publicURL" && d.EndpointType != "adminURL" && d.EndpointType != "internalURL" { if d.EndpointType != "publicURL" && d.EndpointType != "adminURL" && d.EndpointType != "internalURL" {