Skip to content

Instantly share code, notes, and snippets.

@sax
Last active February 23, 2016 20:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sax/9544100 to your computer and use it in GitHub Desktop.
Save sax/9544100 to your computer and use it in GitHub Desktop.
Smartos / Vagrant
  1. Install Vagrant

  2. Install SmartOS guest detection

vagrant plugin install vagrant-smartos-guest
  1. Install zones support
vagrant plugin install vagrant-smartos-zones
  1. Get a Vagrantfile
cd ...someplace
curl -k https://raw.github.com/sax/vagrant-smartos-packager/master/Vagrantfile -O
  1. Spin up some zones!
vagrant up
vagrant ssh        # get into global zone
vagrant zones list
vagrant zones show [name]
vagrant zlogin [name]
@wolstena
Copy link

wolstena commented May 7, 2014

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment