Created
June 17, 2016 16:21
-
-
Save anish/00148d86ad866f378944c826345fcf9d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
STATE=`sudo racadm get BIOS.SerialCommSettings.SerialComm | head -n 2 | tail -n1 | cut -d'=' -f2` | |
sudo racadm set BIOS.SerialCommSettings.SerialComm Off | |
sudo racadm jobqueue create bios.setup.1-1 | |
echo $STATE > old_sol_state | |
sudo reboot | |
## update idrac first | |
## update raid | |
## update bios | |
sudo reboot | |
old_state=`cat old_sol_state` | |
sudo racadm set BIOS.SerialCommSettings.SerialComm $old_state | |
sudo racadm jobqueue create bios.setup.1-1 | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment