Skip to content

Instantly share code, notes, and snippets.

View bdha's full-sized avatar
☂️
ಠ_ಠ

Bryan Horstmann-Allen bdha

☂️
ಠ_ಠ
View GitHub Profile
# This document describes updating the SmartOS boot_archive and /usr volumes.
#
# The boot_archive effectively contains /. If you want to make changes to SMF
# or so forth, you need to update the boot_archive.
#
# If you want to add things to /usr, such as drivers, you will need to update
# usr.lgz. It is compressed, so note the lofiadm -U and -C calls below. Once
# you have updated usr.lgz you will need to copy it back to the mounted
# boot_arhive.
#
http://phillyfoodie.com/post/1568443917/stocking-up-preggie-prep-gnocchi
http://phillyfoodie.com/post/2700115516/monkey-bread-the-traditional-holiday-treat
http://phillyfoodie.com/post/4365341672/turkey-grandmere
http://phillyfoodie.com/post/11719056200/ginger-pineapple-salad
http://phillyfoodie.com/post/136887454/6-cans-a-pound-of-chicken-5-dinners
"Good hardware costs money, and your time has value. The ditches on either
side of the road through the land of hardware are steep and home to
manifold ferocious beasts. Stray from this golden path at your peril."
-- Keith Wesolowski
http://www.listbox.com/member/archive/184463/2013/02/sort/time_rev/page/1/entry/0:156/20130218134633:82C0ABBC-79FB-11E2-B214-A90A0365DAE4/
@bdha
bdha / vbox_to_kvm.txt
Created March 1, 2012 04:04
Migrating from VirtualBox to KVM on ZFS
# It's important to convert the vbox image (VMDK or VDI or whatever) using
# the same version of VirtualBox that created it. You can try converting the image
# with qemu-img or kvm-img, but weird version mismatches will possibly make it not
# work.
# On your VirtualBox machine:
cd $VBOX_ROOT/$MACHINE_ROOT/
VBoxManage clonehd machine.vmdk machine.img --format RAW
scp machine.img root@kvm-host:/somewhere
@bdha
bdha / list.md
Last active April 5, 2019 19:41
Books 2018

Current (1)

Title Type Review
Trail of Lightning Post-apoc, fantasy Excellent so far

Finished (40)

Title Type Review
@bdha
bdha / bye.txt
Created September 14, 2018 20:55
From: Bryan Horstmann-Allen <bdha@joyent.com>
To: conch-dev@joyent.com
Cc: netops@joyent.com, dcops@joyent.com, sysops@joyent.com, jdevs@joyent.com, manta@joyent.com
Bcc: bryan@pobox.com, jenny.miller@joyent.com
Subject: 안녕히 계세요
Reply-To: bdha@joyent.com
Hi folks,
Today is my last day at Joyent. I've enjoyed working with all of you over the
@bdha
bdha / bye.txt
Last active September 14, 2018 20:13
Hi folks,
Today is my last day at Joyent. I've enjoyed working with all of you over the
last ~3 years. Some of you I've wanted to work with for over a decade! It was a
real treat to get to do so.
Over the last couple weeks I've thought about some of the things I'm proud of
accomplishing both personally and as an organization, and maybe it would be
good to remind everyone of them:
@bdha
bdha / bye.txt
Created September 14, 2018 20:06
Hi folks,
Today is my last day at Joyent. I've enjoyed working with all of you over the
last ~3 years. Some of you I've wanted to work with for over a decade! It was a
real treat to get to do so.
Over the last couple weeks I've thought about some of the things I'm proud of
accomplishing both personally and as an organization, and maybe it would be
good to remind everyone of them:
@bdha
bdha / smartos_hackery.md
Last active April 7, 2018 10:10
Modify a SmartOS vmware platform image

Using OS X and vmware Fusion. Requires an actual Solarish system or VM to modify the boot_archive.

Why would you want to do this? Well, it's an easy way of modifying an excellent platform for your own nefarious ends. Maybe you want to inject some extra (or less) work into the install scripts. Or just add some extra default services. Or drop in some leet figlet into /etc/issue. Or more usefully: Drop your application bootstrapping code into the platform to create turnkey appliances.

Prep

Download and decompress the SmartOS VMware image.

Copy the boot image out of the VM directory and mount it.