Skip to content

Instantly share code, notes, and snippets.

### Keybase proof
I hereby claim:
* I am ba1020 on github.
* I am ba1020 (https://keybase.io/ba1020) on keybase.
* I have a public key whose fingerprint is 369C 2259 42EA F5A6 54E4 563A 6B51 FC5B 13C2 0F7A
To claim this, I am signing this object:
@ba1020
ba1020 / pci-attach.sh
Created December 8, 2012 10:17 — forked from abeluck/pci-attach.sh
Qubes PCI Scripts
#/bin/sh
########
# Attach pci device to vm
#
# usage: pci-attach <domain> <pci-device>
#
# Will attempt to partially match device names, e.g., "1a" -> "0000:00:1a.0"
#
domain=$1