1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-24 23:03:08 +00:00

use sudo when rebooting after live install

on Rawhide it seems user cannot run 'reboot' any more. 'sudo
reboot' seems to do the trick (tested KDE and GNOME).
This commit is contained in:
Adam Williamson 2016-06-08 12:20:43 -07:00
parent 7606131d09
commit 3a31f9639d

View File

@ -79,7 +79,7 @@ sub run {
wait_still_screen 3; wait_still_screen 3;
assert_and_click "anaconda_install_done"; assert_and_click "anaconda_install_done";
if (get_var('LIVE')) { if (get_var('LIVE')) {
x11_start_program("reboot"); x11_start_program("sudo reboot");
} }
} }