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

socat ioctl error while using "qm terminal ..."

$
0
0
I have a setup where qm terminal works just fine from the command line. I'd like to programmatically pass and retrieve data to this serial device. I thought a construct similar to this would work, but I get ioctl errors on it.

Code:
qm terminal <vmid> <<EOF
    show version
EOF

Error is:

DATE TIME socat[1391302] E tcgetattr(0, 0x63c03419c3c0): Inappropriate ioctl for device

Presumably socat is used here and it doesn't like how I'm passing commands. Manually entering "qm terminal...

Read more

Viewing all articles
Browse latest Browse all 171679

Trending Articles



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