Skip to content

Instantly share code, notes, and snippets.

Avatar

Trent Palmer TrentSPalmer

View GitHub Profile
@TrentSPalmer
TrentSPalmer / check_last_dist_upgrade_via_ssh.py
Last active Nov 2, 2018
Python SSH Nagios/Icinga Scripts for Checking System Updates.
View check_last_dist_upgrade_via_ssh.py
#!/usr/bin/env python3
# check_last_dist_upgrade_via_ssh.py
import sys,re
from optparse import OptionParser
from time import time
from datetime import date
from subprocess import run, PIPE
parser = OptionParser()
@TrentSPalmer
TrentSPalmer / gentoo_nspawn_container_on_Digital_Ocean.md
Last active Jun 28, 2017
Gentoo Nspawn Container on Ubuntu 17.04 on Digital Ocean.
View gentoo_nspawn_container_on_Digital_Ocean.md

Install a Gentoo nspawn Container on Ubuntu 17.04 on Digital Ocean.

Spin up an Ubuntu 17.04 droplet, because nspawn containers are slightly more difficult with Ubuntu 16.04. Install systemd-container. (This will also work on your local workstation or laptop running Ubuntu 17.04.)

apt install systemd-container
@TrentSPalmer
TrentSPalmer / solusos_on_raid0_home.md
Last active Mar 9, 2018
Install SolusOS with Raid0 /home
View solusos_on_raid0_home.md

Install SolusOS with software raid0 /home device

I don't know if this is correct or not, but it's working for me. First, torrent/download the latest iso and write it to a thumb drive with ddrescue

ddrescue -D --force Solus-1.2.1.iso /dev/sdX

On my machine you can write the thumb drive using USB 3, but you have to

You can’t perform that action at this time.