From 310a38e604ba7c3f5223ec4ae9791dd3e42c63de Mon Sep 17 00:00:00 2001 From: Chris Long Date: Sun, 8 Nov 2020 23:35:01 -0800 Subject: [PATCH] Update bootstrap.sh --- Vagrant/bootstrap.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Vagrant/bootstrap.sh b/Vagrant/bootstrap.sh index 99c908007..76858bbba 100644 --- a/Vagrant/bootstrap.sh +++ b/Vagrant/bootstrap.sh @@ -244,7 +244,7 @@ install_fleet_import_osquery_config() { cd /opt || exit 1 echo "[$(date +%H:%M:%S)]: Installing Fleet..." - echo -e "\n127.0.0.1 kolide" >>/etc/hosts + echo -e "\n127.0.0.1 fleet" >>/etc/hosts echo -e "\n127.0.0.1 logger" >>/etc/hosts # Set MySQL username and password, create kolide database @@ -252,7 +252,7 @@ install_fleet_import_osquery_config() { mysql -uroot -pkolide -e "create database kolide;" # Always download the latest release of Fleet - curl -s https://api.github.com/repos/kolide/fleet/releases/latest | grep 'https://github.com' | grep "/fleet.zip" | cut -d ':' -f 2,3 | tr -d '"' | wget --progress=bar:force -i - + curl -s https://api.github.com/repos/fleetdm/fleet/releases/latest | grep 'https://github.com' | grep "/fleet.zip" | cut -d ':' -f 2,3 | tr -d '"' | wget --progress=bar:force -i - unzip fleet.zip -d fleet cp fleet/linux/fleetctl /usr/local/bin/fleetctl && chmod +x /usr/local/bin/fleetctl cp fleet/linux/fleet /usr/local/bin/fleet && chmod +x /usr/local/bin/fleet