On 12/19/22 17:17, Ladislav Slezák wrote:
Dne 01. 12. 22 v 13:23 Ancor Gonzalez Sosa napsal(a):
The only missing parts would be the terminal (which looks easy to implement using[1] and taking inspiration from Cockpit) and the re-scan button at storage.
But, why to stop there? ;-) What if we could make it possible to run YaST modules in a way that is better integrated with D-Installer? I know it's a much crazier idea that makes little sense but, what if I could execute the YaST Partitioner in a terminal in a way in which the resulting staging devicegraph is reflected in the instance of D-Installer (that is, effectively configuring D-Installer storage setup from YaST).
Um, for YaST you actually do not need a terminal. Moreover it is really ugly in a web app. :-P
Maybe it's a matter of taste, but I find uglier to run the Qt UI "embedded" into the web page.
We could use the same trick as with the "web" YaST docker image, we could run full YaST in the Xvnc server and in Cockpit (or just the D-Installer) we would just use an <iframe> with URL pointing to that service...
That would result in YaST fully integrated into the D-Installer. :-)
I personally would find that more alien that a text console. Cheers. -- Ancor González Sosa YaST Team at SUSE Software Solutions