-
Notifications
You must be signed in to change notification settings - Fork 0
Home
tortoise4race edited this page Jan 20, 2021
·
1 revision
Welcome to the SQL wiki!
virt-manager / virsh remote connect to QNAP (QEMU)
The problem is on Qnap nc command is not avaiable as default and the args required by nc are different as default
About to run LC_ALL=C PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games HOME=/home/nguyen USER=nguyen LOGNAME=nguyen TERM=xterm-256color ssh -l admin -- 192.168.178.8 sh -c ''''if '''nc''' -q 2>&1 | grep "requires an argument" >/dev/null 2>&1; then ARG=-q0;else ARG=;fi;'''nc''' $ARG -U /var/run/libvirt/libvirt-sock''''
On Qnap
which nc the command of notification center
ln -sv /QVS/usr/sbin/nc.static /bin/nc ln -sv /QVS/var/run/libvirt /var/run/libvirt