Skip to content

Commit

Permalink
vagrant: use a single VM
Browse files Browse the repository at this point in the history
Update SoftRoCE-enabled netdev list to all netdevs but loopback.
  • Loading branch information
haggaie committed Oct 24, 2018
1 parent 9702031 commit 6f9ebd9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,4 @@ Vagrant.configure("2") do |config|
# apt-get install -y apache2
# SHELL
config.vm.provision "shell", path: "provision/setup-vm.sh"

# Two VMs: client & server
config.vm.define "client" do |client|
client.vm.network "private_network", ip: "172.18.0.10"
end
config.vm.define "server" do |server|
server.vm.network "private_network", ip: "172.18.0.11"
end
end
2 changes: 1 addition & 1 deletion provision/setup-vm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ sudo apt-get install -y ibverbs-utils perftest
# enable rxe
#sudo rxe_cfg add enp0s8
mkdir -p /var/lib/rxe
echo enp0s8 > /var/lib/rxe/rxe
ls /sys/class/net | grep -v '^lo$' > /var/lib/rxe/rxe
sudo rxe_cfg start

# sockperf - need to be pre-built or downloaded
Expand Down

0 comments on commit 6f9ebd9

Please sign in to comment.