Update migration_test.sh (#25707)

This commit is contained in:
Lucas Manuel Rodriguez 2025-01-22 20:04:13 -03:00 committed by GitHub
parent 126426b213
commit d6e026982a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -505,8 +505,11 @@ for pkgType in "${pkgTypes[@]}"; do
--update-interval=30s
done
echo "Installing fleetd package on macOS..."
echo "Uninstalling fleetd package from macOS..."
sudo ./orbit/tools/cleanup/cleanup_macos.sh
echo "Sleeping 60 seconds..."
sleep 60
echo "Installing fleetd package on macOS..."
sudo installer -pkg fleet-osquery.pkg -verbose -target /
CURRENT_DIR=$(pwd)
@ -614,8 +617,11 @@ for pkgType in "${pkgTypes[@]}"; do
--update-interval=30s
done
echo "Installing fleetd package on macOS..."
echo "Uninstalling fleetd package from macOS..."
sudo ./orbit/tools/cleanup/cleanup_macos.sh
echo "Sleeping 60 seconds..."
sleep 60
echo "Installing fleetd package on macOS..."
sudo installer -pkg fleet-osquery.pkg -verbose -target /
CURRENT_DIR=$(pwd)