Skip to content

Commit

Permalink
vagrant: Install ipset
Browse files Browse the repository at this point in the history
This temporary fix is needed until [1] is merged.

1 - cilium/packer-ci-build#278
Signed-off-by: Paul Chaignon <paul@cilium.io>
  • Loading branch information
pchaigno authored and glibsm committed Sep 29, 2021
1 parent ee207f1 commit 1c42ae9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ set -o errexit
set -o nounset
set -o pipefail
# Temporary fix until https://github.com/cilium/packer-ci-build/pull/278 is
# merged. Necessary as Cilium now needs ipset for iptables masquerading.
sudo apt-get install -y ipset
sudo -E make -C /home/vagrant/go/src/github.com/cilium/cilium/ install
sudo mkdir -p /etc/sysconfig
Expand Down
4 changes: 4 additions & 0 deletions test/provision/runtime_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ sudo systemctl restart ssh

"${PROVISIONSRC}"/dns.sh

# Temporary fix until https://github.com/cilium/packer-ci-build/pull/278 is
# merged. Necessary as Cilium now needs ipset for iptables masquerading.
sudo apt-get install -y ipset

if [[ "${PROVISION_EXTERNAL_WORKLOAD}" == "false" ]]; then
"${PROVISIONSRC}"/compile.sh
"${PROVISIONSRC}"/wait-cilium.sh
Expand Down

0 comments on commit 1c42ae9

Please sign in to comment.