22
Авг
0

KVM — Подключение USB HASP ключа для 1с в Windows под KVM CentOS6

Добавить в правилах  /etc/udev/rules.d/90-libvirt-usb.rules

CTION==»add», \
SUBSYSTEM==»usb», \
SYSFS{idVendor}==»0529″, \
SYSFS{idProduct}==»0001″, \
RUN+=»/usr/bin/virsh attach-device win2k3 /root/HASP.xml»
ACTION==»remove», \
SUBSYSTEM==»usb», \
SYSFS{idVendor}==»0529″, \
SYSFS{idProduct}==»0001″, \
RUN+=»/usr/bin/virsh detach-device win2k3 /root/HASP.xml»

HASP.xml

<hostdev mode=’subsystem’ type=’usb’ managed=’yes’>
<source>
<vendor id=’0x0529’/>
<product id=’0x0001’/>
</source>
</hostdev>

Enjoyed reading this post?
Subscribe to the RSS feed and have all new posts delivered straight to you.

Comments are closed.

Celadon theme by the Themes Boutique