Some of this is taken from smartos docs.

Steps:

  • Create your blank VM vi /opt/ubuntu1404.json:
{
    "alias": "Ubuntu-14.04",
    "autoboot": true,
    "brand": "kvm",
    "hostname": "ubuntu-14.04",
    "resolvers": [
        "8.8.8.8",
        "8.8.4.4"
    ],
    "ram": 1024,
    "vcpus": 2,
    "nics": [
        {
            "interface": "net0",
            "model": "virtio",
            "vlan_id": 200,
            "nic_tag": "admin",
            "ip": "10.1.1.109",
            "gateway": "10.1.1.1",
            "netmask": "255.255.255.0",
            "primary": true

        }
    ],
    "disks": [
        {
            "boot": true,
            "model": "virtio",
            "size": 16384,
            "compression": "on"
        }
    ]
}

If your using FIFO Project: Leave the "nics" section blank. Then reboot your fifo VM and restart chunter. Lastly, your nic(s) from within fifo, that way you don't overlap IP's

  • Create the VM: vmadm create < /opt/ubuntu1404.json
  • stop the vm: vmadm stop {uuid}
  • go into root: cd /zones/{uuid goes here}/root
  • download your iso: wget http://releases.ubuntu.com/14.04.1/ubuntu-14.04.1-server-amd64.iso
  • boot the VM to the iso: vmadm boot {uuid here} order=cd,once=d cdrom=/ubuntu-14.04.1-server-amd64.iso,ide
  • get VNC: vmadm info {uuid here] vnc

How you do VNC depends on how smartos is setup. I use putty to ssh into smartos host, then I tunnel to my needed IP. See the image below for the settings on use on tightvnc and putty:

if your VNC is slower than dirt, change your vnc options to use less colors and maybe some kind of encoding. "tight" with compression set to fast works pretty well. Also 256 colors.

Thats IT... Now you should see your servers screen via VNC and be able to install like normal:

If your using FIFO Project: You still have to do the VNC step above. You won't be able to see your screen in the FIFO web interface... I'm not sure how to get FIFO to take that over again. I shut it down for a couple minutes, then started it from FIFO... now it works. Maybe I did a chunter restart... I don't remember.

NOTE: If you stop and start your VM, the VNC port will change.

Somewhat unrealated, here are the sources.list from joyent's 14.04: http://sprunge.us/USFY