Skip to content

Commit

Permalink
Local CI VM: Add comments for NFS's ip ranges
Browse files Browse the repository at this point in the history
Like contrib/vagrant/start.sh, we should add comments about NFS's ip
ranges on scripts for Local CI VMs.

Fixes: #22901

Signed-off-by: Shunsuke Tokunaga <tkngsnsk313320@gmail.com>
  • Loading branch information
Shunpoco authored and aanm committed Jan 27, 2023
1 parent 188c112 commit 607d870
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/vagrant-local-start-runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,11 @@ else
unset SERVER_VERSION
fi

if [[ "$NFS" != "0" ]]; then
echo "# NFS enabled. don't forget to enable these ports on your host"
echo "# before starting the VMs in order to have nfs working"
echo "# iptables -I INPUT -s 192.168.58.0/24 -j ACCEPT"
fi

echo "starting runtime vm"
vagrant up runtime --provision
6 changes: 6 additions & 0 deletions test/vagrant-local-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ else
unset SERVER_VERSION
fi

if [[ "$NFS" != "0" ]]; then
echo "# NFS enabled. don't forget to enable these ports on your host"
echo "# before starting the VMs in order to have nfs working"
echo "# iptables -I INPUT -s 192.168.58.0/24 -j ACCEPT"
fi

echo "starting vms"
for i in $( seq 1 ${K8S_NODES} )
do
Expand Down

0 comments on commit 607d870

Please sign in to comment.