Browse Source

Update doc for Vagrant install

pull/1328/head
Kevin Jing Qiu 7 years ago
parent
commit
e7acc2fddf
2 changed files with 9 additions and 1 deletions
  1. 2
      Vagrantfile
  2. 8
      docs/vagrant.md

2
Vagrantfile

@ -23,7 +23,7 @@ $vm_cpus = 1
$shared_folders = {}
$forwarded_ports = {}
$subnet = "172.17.8"
$os = "coreos-stable"
$os = "ubuntu"
$box = SUPPORTED_OS[$os][:box]
# The first three nodes are etcd servers
$etcd_instances = $num_instances

8
docs/vagrant.md

@ -39,3 +39,11 @@ k8s-01 Ready 45s
k8s-02 Ready 45s
k8s-03 Ready 45s
```
Use alternative OS for Vagrant
==============================
By default, Vagrant uses Ubuntu 16.04 box to provision a local cluster. You may use an alternative supported
operating system for your local cluster. Change `$os` variable in `Vagrantfile` to another operating system to change
the vagrant base box. The supported operating systems for vagrant are defined in the `SUPPORTED_OS` constant in
the `Vagrantfile`.
Loading…
Cancel
Save