Skip to content

Commit

Permalink
Update README.smartos.
Browse files Browse the repository at this point in the history
  • Loading branch information
emcrisostomo committed Oct 22, 2015
1 parent 3d6bfc3 commit b6d455d
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions README.smartos
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,43 @@ on SmartOS:
NAME: base-multiarch
VERSION: 15.3.0

Setting Up a Development Zone
=============================

A development zone can be setup using the following procedure:

* Search for the latest base-multiarch image:

$ imgadm avail | grep base-multiarch
9250f5a8-6e9c-11e5-9cdb-67fab8707bfd base-multiarch 15.3.0 smartos 2015-10-09T15:44:05Z

* Install the latest image available:

$ imgadm import 9250f5a8-6e9c-11e5-9cdb-67fab8707bfd

* Create a zone manifest called development.json. A simple zone manifest
template is the following:

{
"brand": "joyent",
"image_uuid": "9250f5a8-6e9c-11e5-9cdb-67fab8707bfd",
"alias": "development",
"hostname": "development",
"max_physical_memory": 4096,
"quota": 10,
"resolvers": ["8.8.8.8", "8.8.4.4"],
"nics": [
{
"nic_tag": "admin",
"ip": "dhcp"
}
]
}

* Install a zone using the specified image and manifest:

$ vmadm create -f development.json

Prerequisites
=============

Expand All @@ -35,6 +72,11 @@ The following packages must be installed on the zone where fswatch is built:

* gtexinfo

Packages can be installed using pkgin:

$ pkgin update
$ pkgin install package ...

Installation
============

Expand Down

0 comments on commit b6d455d

Please sign in to comment.