Update doc for Vagrant install

This commit is contained in:
Kevin Jing Qiu 2017-06-02 19:03:43 -04:00
parent 6fb17a813c
commit e7acc2fddf
2 changed files with 9 additions and 1 deletions

2
Vagrantfile vendored
View file

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

View file

@ -39,3 +39,11 @@ k8s-01 Ready 45s
k8s-02 Ready 45s k8s-02 Ready 45s
k8s-03 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`.