I hereby claim:
- I am molander on github.
- I am molander (https://keybase.io/molander) on keybase.
- I have a public key ASBcXRsjsO1O7J1FcLWJWER2x52xJ9jEvv-jJfa_rt8-ego
To claim this, I am signing this object:
| #!/bin/sh | |
| # | |
| # AUTOMATICALLY JOIN & AUTH A NEW HOST ONTO A ZEROTIER NETWORK | |
| # | |
| # CHECK WE ARE ON FREEBSD & ZEROTIER IS NOT ALREADY INSTALLED | |
| #TODO: Check for Debian & use apt; convert to case, read user input | |
| if test $(uname) = "FreeBSD" && test ! -e "/usr/local/bin/zerotier-cli"; then | |
| echo "It's FreeBSD & Zerotier is NOT installed!" | |
| echo "Let's go ahead and install ZT (requires sudo) ..." |
| #!/bin/sh | |
| # IP Grab & Send Script | |
| # NOTE: Requires mosquitto to send MSQTT msq (pkg install mosquitto) | |
| # mosquitto host & port - ngrok tunnel on lightspeed.loft:1883 | |
| mos_hostname=1.tcp.ngrok.io | |
| mos_port=28961 | |
| # Loop through interfaces & send info |
| #/bin/sh | |
| #split window -d "gnu-watch 'zfs list -t snapshot -o name,creation -s creation | grep zrepl_pull_backup_' " \; select-layout tiled | |
| # | |
| # tmux zrepl-watch script | |
| # | |
| # | |
| # init |
| #!/bin/sh | |
| # | |
| # iX-SpecOps Dotfiles Installation Script | |
| # | |
| clear | |
| # | |
| # COLORS! But only if connected to a terminal that supports it |
| #!/bin/sh | |
| # | |
| # iX-SpecOps Dotfiles Installation Script | |
| # | |
| clear | |
| # | |
| # COLORS! But only if connected to a terminal that supports it |
| #!/bin/sh | |
| # | |
| # iX-SpecOps Dotfiles Installation Script | |
| # | |
| clear | |
| # | |
| # COLORS! But only if connected to a terminal that supports it |
| #!/bin/sh | |
| # | |
| # iX-SpecOps Dotfiles Installation Script | |
| # | |
| clear | |
| # | |
| # COLORS! But only if connected to a terminal that supports it |
| VIRSH: DOMXML-TO/FROM-NATIVE ** | |
| ** This converts a domain xml config description to the native bhyve command that will run: | |
| ╭─matto at spock in ~/Projects/bhyve-libvirt using | |
| ╰─○ virsh -c "bhyve:///system" domxml-to-native --format bhyve-argv --xml deb-bhyve.xml | |
| /usr/local/sbin/grub-bhyve --root cd --device-map '<device.map>' --memory 8 debian_hyve01 | |
| /usr/sbin/bhyve -c 1 -m 8 -A -I -u -H -P -s 0:0,hostbridge -s 2:0,ahci,hd:/var/lib/libvirt/deb_hyve01_hdd.img,cd:/home/matto/Projects/bhyve-libvirt/debian64-net.iso -s 3:0,virtio-net,tap0,mac=52:54:00:43:3b:61 debian_hyve01 | |
| ** This converts a bhyve command to a libvirt domain xml config descripton: |
| zfs list -o name,creation -t snap -s creation | grep '@auto' | grep -Fv $(date | awk '{ print $2 }') | awk '{ print $1 }' | xargs -n1 zfs destroy -R |
I hereby claim:
To claim this, I am signing this object: