Skip to content

Commit 6c0c0cc

Browse files
committed
updating default OS as previous one is removed
Google no longer has coreos_1235.9.0 available as an image. This causes failed deployments if users plan to install this. The change allows the default to be coreos_1235.12.0. Users can always control their values with their own `desired_cluster_profile.tfvars`.
1 parent d0a76bd commit 6c0c0cc

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

gcp/modules/dcos-tested-gcp-oses/gcp_variables.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ variable "gcp_os_image_version" {
1919
"centos_7.2" = ["centos-cloud","centos-7-v20170523"]
2020
"centos_7.3" = ["centos-cloud","centos-7-v20170719"]
2121
"coreos_1235.9.0" = ["coreos-cloud", "coreos-stable-1235-9-0-v20170202"]
22+
"coreos_1235.12.0" = ["coreos-cloud", "coreos-stable-1235-12-0-v20170223"]
2223
"rhel_7.3" = ["rhel-cloud", "rhel-7-v20170523"]
2324
}
2425
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
sudo systemctl disable locksmithd
4+
sudo systemctl stop locksmithd
5+
sudo systemctl restart docker # Restarting docker to ensure its ready. Seems like its not during first usage.

gcp/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ variable "gcp_scheduling_preemptible" {
6262
}
6363

6464
variable "os" {
65-
default = "coreos_1235.9.0"
66-
description = "Recommended DC/OS OSs are centos_7.2, coreos_1235.9.0, coreos_835.13.0"
65+
default = "coreos_1235.12.0"
66+
description = "Recommended DC/OS OSs are centos_7.2, coreos_1235.12.0, coreos_835.13.0"
6767
}
6868

6969
variable "num_of_private_agents" {

0 commit comments

Comments
 (0)