Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit 2b5a226

Browse files
committed
vagrant: Update default configuration
1 parent 2e0df9d commit 2b5a226

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

hack/multi-node/Vagrantfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ require 'yaml'
88

99
Vagrant.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

hack/single-node/Vagrantfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ require 'open-uri'
66
require 'tempfile'
77
require 'yaml'
88

9+
$update_channel = "stable"
10+
911
Vagrant.require_version ">= 1.6.0"
1012

1113
NODE_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

0 commit comments

Comments
 (0)