Closed anjannath closed 1 year ago
@evidolob WDYT can be done?
Jeff pointed to the following line of code, (copied from #95)
It returns true
to indicate the installation successfully finished. In this case you might need a tri-state; true, false, not-really for the situation of a needed reboot.
Versions
After finishing the installation for CRC to work, we need to reboot the machine, while doing the installation from the extension/podman-desktop this is notified to the user via a message box that asks user to reboot, but after a few seconds of showing the msg box a new msg box is shown asking the user to select a preset and once selection is made or cancelled in which case the default preset is used, it goes on to download the bundle.
Screen recording of the above flow
reboot_msg_blocked_by_preset_msg.webm
Trying to start CRC and go on with the suggested flow will eventually lead to the following error:![extension_setup_needs_reboot](https://user-images.githubusercontent.com/8885742/237003912-efda5888-6662-4a42-9019-9e0211f0cb54.PNG)
Q: Should we wait till the user reboots to show the preset selection msg box next time podman-desktop is started? as without a reboot user won't be able to use CRC. Q: Can we put a
Reboot
button on the msg box that notifies the user to just click and reboot the machine?