Skip to content

Instantly share code, notes, and snippets.

@tjjh89017
Created October 13, 2018 09:29
Show Gist options
  • Save tjjh89017/647df9d492137ad87a2591f78e662a1f to your computer and use it in GitHub Desktop.
Save tjjh89017/647df9d492137ad87a2591f78e662a1f to your computer and use it in GitHub Desktop.
rm -f /var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.pyc
sed -i "/data\['pci_passthrough_/d" /var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py
sed -i "/self._get_pci_passthrough_devices()/d" /var/lib/kolla/venv/lib/python2.7/site-packages/nova/virt/libvirt/driver.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment