-
Install Vagrant
-
Install SmartOS guest detection
vagrant plugin install vagrant-smartos-guest
- Install zones support
vagrant plugin install vagrant-smartos-zones
- Get a Vagrantfile
cd ...someplace
curl -k https://raw.github.com/sax/vagrant-smartos-packager/master/Vagrantfile -O
- Spin up some zones!
vagrant up
vagrant ssh # get into global zone
vagrant zones list
vagrant zones show [name]
vagrant zlogin [name]
I'm getting a connection timeout. I've seen this reported elsewhere where it has been associated with Virtualization
Technology being disabled in the bios. I've checked. It is enabled on my box with a Xeon W3530.
vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'livinginthepast/smartos-base64-13.4.1' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...