Script to change KACE appliances for Mac (AMPTools)
We have three KACE appliances here, for development, testing and production. On the Windows side, we have a KACE script that can remotely re-point a client with the AMPTools host=[server] command. I've been trying to create a similar script that works for the Mac OS. I've tried just about every approach I can think of from launching sudo from /usr/bin to putting the entire sequence in a shell script and launching that:
cd /Library/Application\ Support/Dell/KACE/bin
sudo ./AMPTools host=[our-dev-server]
The Run Now log shows a successful completion and the script runs just fine from the Terminal, but the target server on the client doesn't change. Any ideas what I'm doing wrong?