Add kuber box location env to make it faster.

This commit is contained in:
resouer
2014-12-15 14:23:48 +08:00
parent 5ef34bf523
commit 7bbfec0f4a
2 changed files with 7 additions and 2 deletions

5
Vagrantfile vendored
View File

@@ -19,11 +19,14 @@ $minion_ips_str = $minion_ips.join(",")
# Determine the OS platform to use
$kube_os = ENV['KUBERNETES_OS'] || "fedora"
# Check if we already have kube box
$kube_box_url = ENV['KUBERNETES_BOX_URL'] || "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_fedora-20_chef-provisionerless.box"
# OS platform to box information
$kube_box = {
"fedora" => {
"name" => "fedora20",
"box_url" => "http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_fedora-20_chef-provisionerless.box"
"box_url" => $kube_box_url
}
}