Revision fc8575862424a375d731095c5c30f529ed9f3f1c authored by Dmitry Kharitonov on 12 February 2024, 14:02:32 UTC, committed by Michi Mutsuzaki on 13 February 2024, 02:01:18 UTC
[ upstream commit 60ea87e04428b43e4a56fea81e9d9dde2fe9f623 ]

Signed-off-by: Dmitry Kharitonov <dmitry@isovalent.com>
Signed-off-by: Tam Mach <tam.mach@cilium.io>
1 parent 3f95050
Raw File
vagrant-local-start-runtime.sh
#!/usr/bin/env bash

set -e

export K8S_VERSION=${K8S_VERSION:-1.19}

echo "destroying runtime"
vagrant destroy runtime --force 2>/dev/null

if [ "$PRELOAD_VM" != "false" ]; then
    ./vagrant-local-create-box.sh
else
    # Use defaults (see ../vagrant_box_defaults.rb)
    unset SERVER_BOX
    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
back to top