A Clojure library designed to ... well, create SmartOS hosts on VirtualBox.
So far only tested on OSX, and it can work on other hosts too, but latest Ubuntu and Debian will have to wait until the VirtualBox guys fix a nasty bug with their java/xpcom library (there is a workaround, ping me if you're interested)
Note: this uses the latest version of
vmfest in the
Download the latest SmartOS ISO from here and store it somewhere, e.g. /Volumes/DATA/ISOS/smartOS-20130329.iso
create a SmartOS host. Wait for a couple of minutes until it reboots. Do not type anything in the meantime as the keystrokes are scripted for your convenience...
(use 'vmfest.manager) (use 'com.palletops.smartos) (def smarty (smartos-instance (server) "smartos-test-1" ;; vm name 16384 ;; 16GB Disk 4444 ;; ssh port "/Volumes/DATA/ISOS/smartOS-20130329.iso"))
- SSH into your spanking new SmartOS host with:
$ ssh root@localhost:4444
password is 'vmfest'
- once you're done, destroy everything, as if it had never happened.
NOTE: The Zones disk will be stored in /tmp/ for now...
Copyright © 2013 Antoni Batchelli
Distributed under the Eclipse Public License, the same as Clojure.