Skip to content

Commit

Permalink
Merge pull request #161 from eharney/master
Browse files Browse the repository at this point in the history
Workaround vagrant-libvirt qemu:///session issue
  • Loading branch information
Akrog authored Apr 2, 2020
2 parents c0c5b40 + 95b0dfd commit d729cec
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/k8s_v1.13-CSI_v1.0/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ Vagrant.configure("2") do |config|
v.username = $libvirt_user
v.connect_via_ssh = true
end

# private network configuration is not supported by vagrant
# when using qemu:///session
if v.respond_to?(:qemu_use_session)
v.qemu_use_session = false
end
end

# Make kub master
Expand Down
6 changes: 6 additions & 0 deletions examples/k8s_v1.16-CSI_v1.1/Vagrantfile.libvirt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ Vagrant.configure("2") do |config|
v.username = $libvirt_user
v.connect_via_ssh = true
end

# private_network configuration is not supported by vagrant
# when using qemu:///session
if v.respond_to?(:qemu_use_session)
v.qemu_use_session = false
end
end

# Make kub master
Expand Down

0 comments on commit d729cec

Please sign in to comment.