GUIDE Optimus laptop dGPU passthrough
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input { | |
file { | |
type => "rasp" | |
path => "/etc/logstash/data/ulogd_rasp.json" | |
codec => "json" | |
start_position => "beginning" | |
sincedb_path => "/dev/null" | |
} | |
file { | |
type => "msi" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Heith Seewald 2012 | |
# Garoe Dorta 2015 | |
# Luca Weiss 2015 | |
# Also based on https://gist.github.com/MichaelLawton/ee27bf4a0f591bed19ac | |
# Feel free to extend/modify to meet your needs. | |
#### Lets run a few checks to make sure things work as expected. | |
#Make sure we’re running with root permissions. | |
if [ `whoami` != root ]; then |