backend:
1. server side need to provide a websocket url for UI to connect, some parameter is needed to identify the guest.
2. the websocket receive linux command from client and pass to guest serial console through API provided by qemu/libvirt/virsh.
also get output from guest serial console and send back to UI to display as command result.
fontend:
1. a html show a console like text box for input.
2. connect to websocket url when loaded.
3. accept user input and send out to websocket.
4. accept websocket message and display in the text box.
I failed to get below to work today, I will continue to try tomorrow. I think it is easy to write such a html command line tool if we can not get one that work well.
https://github.com/chjj/term.js
On 10/21/2014 9:17 PM, Crístian Viana wrote:
On 21-10-2014 06:56, Yu Xin Huo wrote:
Below are quite promising.
http://www.unixmen.com/ajaxterm-a-web-based-terminal-that-help-you-use-ssh-from-a-web-browser/
http://www.web-console.org/
http://www.tecmint.com/shell-in-a-box-a-web-based-ssh-terminal-to-access-remote-linux-servers/
http://xmodulo.com/access-ssh-terminal-web-browser-linux.html
http://www.unixmen.com/keybox-web-based-ssh-console-manage-multiple-ssh-sessions-simultaneously/
Those apps look nice, but is there a supported/easy way to integrate them to Kimchi? As far as I could tell, those apps are meant to run on their own services only.
_______________________________________________
Kimchi-devel mailing list
Kimchi-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel