Automate This
Use the Attune GUI for your Scripts
You've automated: PiKVM Set Boot Order
Get the most out of automation with our get started videos, product demonstrations, and more.
The following steps will guide you through the manual process.
Connect via ssh:
ssh {automationworkerlinuxuser}@{automationworkerlinuxnode}
Execute the following script:
DIR="ks_pikvm_py_venv"
if [ -d "${DIR}" ]
then
echo "${DIR} already exists."
else
mkdir "${DIR}"
cd "${DIR}"
python -m venv env
fi
Execute the following script:
DIR="ks_pikvm_py_venv"
source "${DIR}/env/bin/activate"
if pip list | grep -iq redfishtool
then
echo "redfishtool is already installed."
else
pip install redfishtool
pip list
fi
deactivate
Execute the following script:
DIR="ks_pikvm_py_venv"
source "${DIR}/env/bin/activate"
redfishtool about
ID=$(redfishtool -S Never -r {pikvmIpAddress} root \
-p root \
Systems | jq ".Id")
# redfishtool -S Never -r {pikvmIpAddress} root -p root \
# Systems list
# redfishtool -S Never -r {pikvmIpAddress} root -p root \
# Systems -I "RootService"
# redfishtool -S Never -r {pikvmIpAddress} root -p root \
# Systems get
redfishtool -S Never -r {pikvmIpAddress} root -p root \
Systems -I "${ID}" getBootOverride
deactivate
Execute the following script:
DIR="ks_pikvm_py_venv"
source "${DIR}/env/bin/activate"
ID=$(redfishtool -S Never -r {pikvmIpAddress} root \
-p root \
Systems | jq ".Id")
redfishtool about
redfishtool -S Never -r {pikvmIpAddress} root -p root \
Systems -I "${ID}" setBootOverride Once CD
deactivate
You have completed this instruction.
Join our Discord channel and connect with like-minded individuals who share your passion. Engage in lively discussions, gain valuable insights, and stay updated on the latest trends in our industry. Don't miss out on this opportunity to network, learn, and grow together.
Click the link below and become a part of our vibrant community on Discord today!