Skip to content

Instantly share code, notes, and snippets.

View bhechinger's full-sized avatar

Brian Hechinger bhechinger

  • Payrails
  • Quarteira, Portugal
View GitHub Profile
@bhechinger
bhechinger / PCI_Passthrough.txt
Created November 17, 2021 09:45
PCI Passthrough configs for two VMs
This is the KVM configs for two VMs that run on the same host with two different GPUs passed in
essentially creating two separate desktops from a single computer.
@bhechinger
bhechinger / gist:df0a7f5f096c05749c9ef8ab1c592c39
Created January 30, 2020 01:08
Building Traefik on Illumos
This is mostly correct: https://blog.wegmueller.it/compiling-traefik-on-illumos
./scripts/generate
./scripts/binary
should be:
./script/generate
./script/binary
headnode ttya login: root
Password:
2019-11-22T18:36:46+00:00 headnode login: [ID 644210 auth.notice] ROOT LOGIN /dev/term/a
SmartOS (build: 20191107T010753Z)
[root@headnode (Garage) ~]#
Current console: ttyb,ttya,ttyc,ttyd,text
Available consoles:
text
ttya PciRoot(0x0)/Pci(0x1,0x0)/Serial(0x0)/Uart(115200,8,N,1)
ttyb PciRoot(0x0)/Pci(0x1,0x0)/Serial(0x1)/Uart(115200,8,N,1)
ttyc device is not present
ttyd device is not present
null software device
spin software device
@bhechinger
bhechinger / gist:74ff31d5029f3aef71e1eb926b1387fc
Created November 21, 2019 13:57
Trying to boot SmartOS as a bhyve VM under OmniOS
zonename: smartos0
zonepath: /zones/smartos0
brand: bhyve
autoboot: false
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: exclusive
hostid:
2019/10/21 15:31:50 [INFO] Terraform version: 0.12.12
2019/10/21 15:31:50 [INFO] Go runtime version: go1.12.9
2019/10/21 15:31:50 [INFO] CLI args: []string{"/home/wonko/.local/bin/terraform", "apply", "-auto-approve"}
2019/10/21 15:31:50 [DEBUG] Attempting to open CLI config file: /home/wonko/.terraformrc
2019/10/21 15:31:50 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2019/10/21 15:31:50 [DEBUG] checking for credentials in "/home/wonko/.terraform.d/plugins"
2019/10/21 15:31:50 [INFO] CLI command args: []string{"apply", "-auto-approve"}
2019/10/21 15:31:50 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config
2019/10/21 15:31:50 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory
2019/10/21 15:31:50 [DEBUG] New state was assigned lineage "3fae792f-4dc1-dd1a-a870-b431c40a76b3"
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# https://www.nginx.com/resources/wiki/start/
# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/
# https://wiki.debian.org/Nginx/DirectoryStructure
#
# In most cases, administrators will remove this file from sites-enabled/ and
# leave it as reference inside of sites-available where it will continue to be
# updated by the nginx packaging team.
user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 768;
# multi_accept on;
}
++ hostname
+ exec /cockroach/cockroach start --logtostderr --certs-dir /cockroach/cockroach-certs --advertise-host cockroachdb-shared-cockroachdb-0.cockroachdb-shared-cockroachdb.data-lake.svc.cluster.local --http-host 0.0.0.0 --http-port 8080 --port 26257 --cache 25% --max-sql-memory 25% --join cockroachdb-shared-cockroachdb-0.cockroachdb-shared-cockroachdb.data-lake.svc.cluster.local:26257,cockroachdb-shared-cockroachdb-1.cockroachdb-shared-cockroachdb.data-lake.svc.cluster.local:26257,cockroachdb-shared-cockroachdb-2.cockroachdb-shared-cockroachdb.data-lake.svc.cluster.local:26257
I191010 20:26:27.540069 1 cli/start.go:1033 logging to directory /cockroach/cockroach-data/logs
I191010 20:26:27.555957 1 server/status/recorder.go:610 available memory from cgroups (8.0 EiB) exceeds system memory 1.9 GiB, using system memory
I191010 20:26:27.556034 1 cli/start.go:1082 CockroachDB CCL v19.1.3 (x86_64-unknown-linux-gnu, built 2019/07/08 18:24:39, go1.11.6)
I191010 20:26:27.725757 1 server/status/recorder.go:61
---- Minecraft Crash Report ----
WARNING: coremods are present:
llibrary (llibrary-core-1.0.10-1.12.2.jar)
Contact their authors BEFORE contacting forge
// I blame Dinnerbone.
Time: 2/16/19 7:48 PM
Description: Unexpected error