Skip to content

Commit

Permalink
contrib/vagrant/start.sh: add a NO_BUILD export
Browse files Browse the repository at this point in the history
Add an export for NO_BUILD, to make it clear(er) that this option is
available.

Ideally, we would want argument options instead of environment variables for this
script, but that's a bigger change.

Signed-off-by: Kornilios Kourtis <kornilios@isovalent.com>
  • Loading branch information
kkourt committed Sep 17, 2021
1 parent 0a20b59 commit 5fde98b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contrib/vagrant/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ export 'TUNNEL_MODE_STRING'=${TUNNEL_MODE_STRING:-"-t vxlan"}
# Replies Yes to all prompts asked in this script
export 'YES_TO_ALL'=${YES_TO_ALL:-"0"}

# Don't build the tree inside the VMs (faster)
# Example use as: make -j$(nproc) && NO_BUILD=1 ./contrib/vagrant/start.sh
export 'NO_BUILD'=${NO_BUILD:-"0"}

# Internal variables used in the Vagrantfile
export 'CILIUM_SCRIPT'=true
# Sets the directory where the temporary setup scripts are created
Expand Down

0 comments on commit 5fde98b

Please sign in to comment.