-
-
Save benr/5505198 to your computer and use it in GitHub Desktop.
vagrant box add smartos http://cuddletech.com/tmp/smartos-latest.box | |
mkdir smartos && cd smartos | |
vagrant init smartos | |
vagrant up | |
vagrant ssh |
nice! i think the next step will be to write a vagrant plugin that allows us to ssh to a default zone, rather than the global zone.
Nice one benr. Check the scripts here out to see how I have integrated vbox/vmware tools with smartos: http://dlc-int.openindiana.org/aszeszo/vagrant/scripts/
bixu, check the boxes here out: http://dlc-int.openindiana.org/aszeszo/vagrant/ They focus on the actual zones and GZ is made to be transparent. shared dirs are passed to the non-GZ as well. Sorry for not making the boxes more public.
Nice, aszeszo, you're much further along than I and those are what many users are really looking for.
Question from smartos noobie that have not touched vagrant for long time: when I add smartos box (either created by @aszeszo (smartos163) or @benr), all I get is an error 'Failed to untar the box file' and bunch of utter gibberish in ~/.vagrant.d/boxes/smartos directory. Tried on 2 different hosts (mac os x and ubuntu), same result. Added ubuntu box at the same time with great results. What am I doing wrong?
@olek - fwiw, a common pitfall with vagrant is using the one from rubygems rather than vagrant downloaded from http://downloads.vagrantup.com/. I was able to successfully import @aszeso's base191-64 box, although I'm still unable to get it to respond to SSH.
Is this the right place to watch? https://github.com/jacobgroundwater/vagrant-smartos
I've automated the process of making new SmartOS vboxes ("Vagrant SmartMachines" as well) using vbkick (https://github.com/wilas/vbkick) and @aszeszo script. Template is available here: https://github.com/wilas/vbkick-template-smartos
Note: It support booting SmartOS from USB or ISO.
Things to note: