Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.openzfsonosx.zfs.zed</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/sbin/zedlaunchd</string>
</array>
@evansus
evansus / zfsadm
Created November 30, 2013 15:20 — forked from ilovezfs/.gitignore
#!/bin/bash
set -e
#defaults:
export DEV_DIR="/Users/$SUDO_USER/Developer"
export INSTALL_DIR="/osxzfs"
export OWNER="$SUDO_USER"
export BRANCH="master"
export ZFS_BRANCH="default"
export SPL_BRANCH="default"

Run VMware Fusion headless at Mac OS system startup.

I heard you like headless VMs on your Mac so I wrote this script for your launchds.

Assumptions

  • Tested on Mac OS X 10.6.4 with VMware Fusion 2.0.5 and 3.1.1.
  • A interactive user automatically logs into the system at startup. I had some issues trying to get this running without an interactive user logged in. I automatically log in for Airfoil Speakers anyway.
  • Your virtual machines live in /Virtual Machines
@evansus
evansus / 1_create_etherstub_and_vnics.bash
Created November 28, 2012 14:24 — forked from jfqd/1_create_etherstub_and_vnics.bash
Crossbow - Network in a Box - Samples build for OpenIndiana 151a
#!/bin/bash
# create a virtual switch
dladm create-etherstub vswitch0
# create a virtual nic connected to a physical nic
dladm create-vnic -l e1000g0 vnic_ext0 # dns
# create virtual nics connected to a virtual switch
dladm create-vnic -l vswitch0 vnic_int0 # dns