diff --git a/Vagrantfile b/Vagrantfile index e133bdc31..2134dfa56 100644 --- a/Vagrantfile +++ b/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 diff --git a/docs/vagrant.md b/docs/vagrant.md index 02132c140..ea08536d4 100644 --- a/docs/vagrant.md +++ b/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`.