Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 171679

socat for serial connection between 2 VM's

$
0
0
Hello

I have a setup where we need to connect serial ports of 2 VM's with each other.
I have found a solution to add serial sockets to the 2 VM's and connect them via socat:

Code:
socat UNIX-CLIENT:/var/run/qemu-server/100.serial0 UNIX-CLIENT:/var/run/qemu-server/101.serial1

This has to be active all the time.

Does anyone know if it is possible to run this in the background when the two VM's have been booted?
Via a hookscript?

Thanks!

Tuur

Viewing all articles
Browse latest Browse all 171679

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>