How to PiKVM Set Boot Order

This documentation is generated by Attune

Automate This

Use the Attune GUI for your Scripts

    1 Download Attune
    2 Copy the Attune Project URL
    3 Clone the Project in Attune
    4 Plan your Job(s)
    5 Run your Job(s)

You've automated: PiKVM Set Boot Order


Get the most out of automation with our get started videos, product demonstrations, and more.

Learn Attune Automation

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
                
            

Completed

You have completed this instruction.

Attune - Powered by ServerTribe

Automate with Attune

Download the Attune Community Edition.

DOWNLOAD!!!

Discuss this Project in Discord

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!

Join NOW!!!