amluto / virtme

An easy way to virtualize the running system
GNU General Public License v2.0
330 stars 66 forks source link

virtme-run: properly forward stdin with --script-sh #80

Open arighi opened 1 year ago

arighi commented 1 year ago

Properly forward stdin to script executed in the guest with --script-sh by creating two separate virtio ports for stdin and stdout. Then the script will read from the stdin port and write to the stdout port.

Signed-off-by: Andrea Righi andrea.righi@canonical.com

arighi commented 1 year ago

This has been merged/fixed in https://github.com/arighi/virtme

NOTE: we are trying to catch up with all the pending PR in this temporary fork. In the future we may merge everything back here if this project become active again, but for now please consider to follow also the development of arighi/virtme.