This repository was archived by the owner on Jul 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,11 @@ require 'yaml'
88
99Vagrant . require_version ">= 1.6.0"
1010
11- $update_channel = "alpha "
11+ $update_channel = "stable "
1212$controller_count = 1
1313$controller_vm_memory = 2048
1414$worker_count = 1
15- $worker_vm_memory = 512
15+ $worker_vm_memory = 1024
1616$etcd_count = 1
1717$etcd_vm_memory = 512
1818
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ require 'open-uri'
66require 'tempfile'
77require 'yaml'
88
9+ $update_channel = "stable"
10+
911Vagrant . require_version ">= 1.6.0"
1012
1113NODE_IP = "172.17.4.100"
@@ -15,17 +17,17 @@ Vagrant.configure("2") do |config|
1517 # always use Vagrant's insecure key
1618 config . ssh . insert_key = false
1719
18- config . vm . box = "coreos-alpha"
20+ config . vm . box = "coreos-%s" % $update_channel
1921 config . vm . box_version = ">= 962.0.0"
20- config . vm . box_url = "http://alpha .release.core-os.net/amd64-usr/current/coreos_production_vagrant.json"
22+ config . vm . box_url = "http://%s .release.core-os.net/amd64-usr/current/coreos_production_vagrant.json" % $update_channel
2123
2224 [ "vmware_fusion" , "vmware_workstation" ] . each do |vmware |
2325 config . vm . provider vmware do |v , override |
2426 v . vmx [ 'numvcpus' ] = 1
2527 v . vmx [ 'memsize' ] = 2048
2628 v . gui = false
2729
28- override . vm . box_url = "http://alpha .release.core-os.net/amd64-usr/current/coreos_production_vagrant_vmware_fusion.json"
30+ override . vm . box_url = "http://%s .release.core-os.net/amd64-usr/current/coreos_production_vagrant_vmware_fusion.json" % $update_channel
2931 end
3032 end
3133
You can’t perform that action at this time.
0 commit comments