<p>Following the instructions on this page - <a href="http://kubernetes.io/v1.1/docs/getting-started-guides/vagrant.html#setup" rel="nofollow">http://kubernetes.io/v1.1/docs/getting-started-guides/vagrant.html#setup</a>, I'm getting the following error when trying to get Kubernetes up on a Mac running El Capitan, using Vagrant and VirtualBox. Where am I going wrong?</p>

<p>OS X El Capitan 10.11.2 (15C50)
Vagrant 1.8.1
VirtualBox 5.0.12 r104815</p>

<p>and trying to get a cluster up by executing these steps:</p>

<p><code>export KUBERNETES_PROVIDER=vagrant
curl -sS https://get.k8s.io | bash</code></p>

<p>The output below is a capture of having executed these two commands. I'm following these instructions [link]<a href="http://kubernetes.io/v1.1/docs/getting-started-guides/vagrant.html#prerequisites" rel="nofollow">http://kubernetes.io/v1.1/docs/getting-started-guides/vagrant.html#prerequisites</a></p>

<pre><code>Unpacking kubernetes release v1.1.4
Creating a kubernetes on vagrant...
... Starting cluster using provider: vagrant
... calling verify-prereqs
... calling kube-up
Bringing machine 'master' up with 'virtualbox' provider...
Bringing machine 'minion-1' up with 'virtualbox' provider...
==&gt; master: VirtualBox VM is already running.
==&gt; minion-1: Importing base box 'kube-fedora21'...
==&gt; minion-1: Matching MAC address for NAT networking...
==&gt; minion-1: Setting the name of the VM: kubernetes_minion-1_1454028157203_24352
==&gt; minion-1: Fixed port collision for 22 =&gt; 2222. Now on port 2200.
==&gt; minion-1: Clearing any previously set network interfaces...
==&gt; minion-1: Preparing network interfaces based on configuration...
    minion-1: Adapter 1: nat
    minion-1: Adapter 2: hostonly
==&gt; minion-1: Forwarding ports...
    minion-1: 22 (guest) =&gt; 2200 (host) (adapter 1)
==&gt; minion-1: Running 'pre-boot' VM customizations...
==&gt; minion-1: Booting VM...
==&gt; minion-1: Waiting for machine to boot. This may take a few minutes...
    minion-1: SSH address: 127.0.0.1:2200
    minion-1: SSH username: vagrant
    minion-1: SSH auth method: private key
    minion-1: 
    minion-1: Vagrant insecure key detected. Vagrant will automatically replace
    minion-1: this with a newly generated keypair for better security.
    minion-1: 
    minion-1: Inserting generated public key within guest...
    minion-1: Removing insecure key from the guest if it's present...
    minion-1: Key inserted! Disconnecting and reconnecting using new SSH key...
==&gt; minion-1: Machine booted and ready!
==&gt; minion-1: Checking for guest additions in VM...
==&gt; minion-1: Configuring and enabling network interfaces...
==&gt; minion-1: Mounting shared folders...
    minion-1: /vagrant =&gt; /Users/lee/kubernetes
==&gt; minion-1: Running provisioner: shell...
    minion-1: Running: /var/folders/cb/lpcc0zbs441777bwsl1zrcbh0000gn/T/vagrant-shell20160128-14233-gm7iq9.sh
==&gt; minion-1: Adding kubernetes-master to hosts file
==&gt; minion-1: Provisioning network on minion
 ==&gt; minion-1: Resolving Dependencies
==&gt; minion-1: --&gt; Running transaction check
==&gt; minion-1: ---&gt; Package flannel.x86_64 0:0.5.0-3.fc21 will be installed
==&gt; minion-1: --&gt; Finished Dependency Resolution
==&gt; minion-1: 
==&gt; minion-1: Dependencies Resolved
==&gt; minion-1: 
==&gt; minion-1: ================================================================================
==&gt; minion-1:  Package          Arch            Version                Repository        Size
==&gt; minion-1: ================================================================================
==&gt; minion-1: Installing:
==&gt; minion-1:  flannel          x86_64          0.5.0-3.fc21           updates          1.6 M
==&gt; minion-1: 
==&gt; minion-1: Transaction Summary
==&gt; minion-1: ================================================================================
==&gt; minion-1: Install  1 Package
==&gt; minion-1: Total download size: 1.6 M
==&gt; minion-1: Installed size: 7.0 M
==&gt; minion-1: Downloading packages:
==&gt; minion-1: warning: 
==&gt; minion-1: /var/cache/yum/x86_64/21/updates/packages/flannel-0.5.0-3.fc21.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 95a43f54: NOKEY
==&gt; minion-1: Public key for flannel-0.5.0-3.fc21.x86_64.rpm is not installed
==&gt; minion-1: Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-21-x86_64
==&gt; minion-1: Importing GPG key 0x95A43F54:
==&gt; minion-1:  Userid     : "Fedora (21) &lt;fedora@fedoraproject.org&gt;"
==&gt; minion-1:  Fingerprint: 6596 b8fb abda 5227 a9c5 b59e 89ad 4e87 95a4 3f54
==&gt; minion-1:  Package    : fedora-repos-21-2.noarch (@anaconda)
==&gt; minion-1:  From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-21-x86_64
==&gt; minion-1: Running transaction check
==&gt; minion-1: Running transaction test
==&gt; minion-1: Transaction test succeeded
==&gt; minion-1: Running transaction (shutdown inhibited)
==&gt; minion-1:   Installing : flannel-0.5.0-3.fc21.x86_64                                  1/1
==&gt; minion-1:  
==&gt; minion-1:   Verifying  : flannel-0.5.0-3.fc21.x86_64                                  1/1
==&gt; minion-1:  
==&gt; minion-1: 
==&gt; minion-1: Installed:
==&gt; minion-1:   flannel.x86_64 0:0.5.0-3.fc21                                                 
==&gt; minion-1: Complete!
==&gt; minion-1: Created symlink from /etc/systemd/system/docker.service.requires/flanneld.service to /usr/lib/systemd/system/flanneld.service.
==&gt; minion-1: Network configuration verified
==&gt; minion-1: Disable swap memory to ensure proper QoS
==&gt; minion-1:  *  INFO:  sh -- Version 2015.11.09
==&gt; minion-1: 
==&gt; minion-1:  *  INFO: System Information:
==&gt; minion-1:  *  INFO:   CPU:          GenuineIntel
==&gt; minion-1:  *  INFO:   CPU Arch:     x86_64
==&gt; minion-1:  *  INFO:   OS Name:      Linux
==&gt; minion-1:  *  INFO:   OS Version:   3.17.4-301.fc21.x86_64
==&gt; minion-1:  *  INFO:   Distribution: Fedora 21
==&gt; minion-1:  *  INFO: Installing minion
==&gt; minion-1:  *  INFO: Found function install_fedora_deps
==&gt; minion-1:  *  INFO: Found function install_fedora_stable
==&gt; minion-1:  *  INFO: Found function install_fedora_stable_post
==&gt; minion-1:  *  INFO: Found function install_fedora_restart_daemons
==&gt; minion-1:  *  INFO: Found function daemons_running
==&gt; minion-1:  *  INFO: Found function install_fedora_check_services
==&gt; minion-1:  *  INFO: Running install_fedora_deps()
==&gt; minion-1: which: no dnf in (/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
==&gt; minion-1:  *  INFO: Adding SaltStack's COPR repository
==&gt; minion-1: 
==&gt; minion-1: 
==&gt; minion-1: File contains no section headers.
==&gt; minion-1: file: file:///etc/yum.repos.d/saltstack-salt-fedora-21.repo, line: 1
==&gt; minion-1: '&lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;\n'
==&gt; minion-1:  * ERROR: Failed to run install_fedora_deps()!!!
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
</code></pre>

<p>Your problem with the vagrant setup is currently an open issue <a href="https://github.com/kubernetes/kubernetes/issues/20088#issuecomment-174528066" rel="nofollow noreferrer">https://github.com/kubernetes/kubernetes/issues/20088#issuecomment-174528066</a>  . As a temporary fix you can do this to get it to work: <a href="https://stackoverflow.com/a/35015586/5834774">https://stackoverflow.com/a/35015586/5834774</a></p>
