diff options
author | Bill Peck <bpeck@redhat.com> | 2015-09-22 15:10:10 -0400 |
---|---|---|
committer | Bill Peck <bpeck@redhat.com> | 2015-09-22 15:10:10 -0400 |
commit | 2b50ee80cbad0eba65e12379f1edcabcfc6e3458 (patch) | |
tree | 2cfde4cc2903201e2810ed163eedc4978e985a49 | |
parent | 2e45724431c63a278f5343a8987c4edd15cb7322 (diff) | |
download | tests-2b50ee80cbad0eba65e12379f1edcabcfc6e3458.tar.gz tests-2b50ee80cbad0eba65e12379f1edcabcfc6e3458.tar.xz tests-2b50ee80cbad0eba65e12379f1edcabcfc6e3458.zip |
use hard coded bootorder, uploading the firmware resets it
-rwxr-xr-x | firmware/amd_seattle/runtest.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/amd_seattle/runtest.sh b/firmware/amd_seattle/runtest.sh index 457d257..3c20a56 100755 --- a/firmware/amd_seattle/runtest.sh +++ b/firmware/amd_seattle/runtest.sh @@ -13,7 +13,8 @@ reboot_to_efi_shell() { # This job will end up aborting.. Next time the system is power cycled # we will boot from the wrong device. restore the correct boot order and # reboot again. - echo "efibootmgr -o $bootorder" >> /etc/rc.d/rc.local + echo "efibootmgr -o 0004,0005,0002,0003,0001" >> /etc/rc.d/rc.local + echo "sleep 5" >> /etc/rc.d/rc.local echo "reboot" >> /etc/rc.d/rc.local chmod +x /etc/rc.d/rc.local efishell=$(efibootmgr | grep 'Built-in EFI Shell' | cut -c5-8 | head -n 1) |