Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions install-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fi
if [ $(echo "$UID") = "0" ]; then
SUDO=''
else
SUDO='sudo -E'
SUDO='sudo'
fi

function get_platform() {
Expand Down Expand Up @@ -156,7 +156,12 @@ fi
# Install Vanta Device Monitor
##
printf "\033[34m\n* Installing Vanta Device Monitor. You might be asked for your password...\n\033[0m"
$SUDO $INSTALL_CMD $PKG_PATH
$SUDO env \
VANTA_KEY="$VANTA_KEY" \
VANTA_OWNER_EMAIL="$VANTA_OWNER_EMAIL" \
VANTA_REGION="$VANTA_REGION" \
${VANTA_NOSTART:+VANTA_NOSTART="$VANTA_NOSTART"} \
$INSTALL_CMD $PKG_PATH


##
Expand Down Expand Up @@ -193,4 +198,4 @@ Vanta Device Monitor has been installed successfully.
It will run in the background and submit data to Vanta.

You can check the status of Vanta Device Monitor using the \"/var/vanta/vanta-cli status\" command.
\033[0m"
\033[0m"