forked from p15670423/monkey
Add Swimm to Linux deployment script
This commit is contained in:
parent
7374e615f2
commit
af4aaf23c6
|
@ -43,3 +43,6 @@ export TRACEROUTE_32_BINARY_URL="https://github.com/guardicore/monkey/releases/d
|
|||
|
||||
export SAMBACRY_64_BINARY_URL="https://github.com/guardicore/monkey/releases/download/$MONKEY_LATEST_RELEASE/sc_monkey_runner64.so"
|
||||
export SAMBACRY_32_BINARY_URL="https://github.com/guardicore/monkey/releases/download/$MONKEY_LATEST_RELEASE/sc_monkey_runner32.so"
|
||||
|
||||
# Swimm
|
||||
export SWIMM_URL=https://github.com/swimmio/SwimmReleases/releases/download/v0.4.4-0/Swimm_0.4.4-0_Setup.deb
|
||||
|
|
|
@ -239,6 +239,15 @@ else
|
|||
curl -o ${MONKEY_BIN_DIR}/traceroute32 ${TRACEROUTE_32_BINARY_URL}
|
||||
fi
|
||||
|
||||
# Download Swimm
|
||||
if exists wget; then
|
||||
wget ${SWIMM_URL} -O $HOME/swimm
|
||||
else
|
||||
curl ${SWIMM_URL} -o $HOME/swimm
|
||||
fi
|
||||
sudo dpkg -i $HOME/swimm || (sudo apt-get update && sudo apt-get -f install)
|
||||
sudo chmod +x $HOME/swimm
|
||||
|
||||
sudo chmod +x "${INFECTION_MONKEY_DIR}/build_linux.sh"
|
||||
|
||||
configure_precommit ${python_cmd} ${monkey_home}
|
||||
|
|
Loading…
Reference in New Issue