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;
assert_and_click "anaconda_install_done";
if (get_var('LIVE')) {
x11_start_program("reboot");
x11_start_program("sudo reboot");
}
}