├── README.md ├── arch-linux-20170113 ├── README.md └── template.json ├── boot2docker ├── README.md ├── files │ └── grub │ │ └── grub.cfg.in └── template.json ├── centos-7-1511 ├── README.md ├── files │ └── grub │ │ └── grub.cfg └── template.json ├── debian-8.4.0 ├── README.md └── template.json ├── fedora-23-server ├── README.md ├── files │ └── grub │ │ └── grub.cfg └── template.json ├── freebsd-10.3-zfs ├── README.md └── template.json ├── freebsd-12-zfs ├── README.md └── template.json ├── linux-mint-cinnamon-18 ├── README.md └── template.json ├── netbsd-7.0.1 ├── README.md ├── files │ └── grub │ │ └── grub.cfg └── template.json ├── opensuse-42.1 ├── README.md ├── files │ └── grub │ │ └── grub.cfg └── template.json ├── pfsense-2.3.1 ├── README.md └── template.json ├── smartos-20160915 ├── README.md └── template.json ├── solaris-11.3 ├── README.md └── template.json ├── trueos-desktop-12 ├── README.md └── template.json ├── ubuntu-14.04-9p ├── README.md ├── files │ └── grub │ │ └── grub.cfg.in └── template.json ├── ubuntu-server-16.04-vnc ├── README.md └── template.json ├── zentyal-4.2 ├── README.md └── template.json └── zentyal-5.0 ├── README.md └── template.json /README.md: -------------------------------------------------------------------------------- 1 | # Welcome to the FreeNAS 10 VM templates archive 2 | 3 | In this repo, you will find all of the "canned templates" for creating VMs 4 | on FreeNAS 10 - what you see when you use the ```vm template show``` command. 5 | 6 | ## Use an existing VM as a template 7 | If you would like to use an already created VM as your template do the following: 8 | * Check out the repository 9 | ``` 10 | git clone https://github.com/freenas/vm-templates.git 11 | cd vm-templates 12 | ``` 13 | * Copy and rename the folder from which your template was based on 14 | * Stop the running VM and use dd on the FreeBSD CLI 15 | ``` 16 | dd if=/dev/zvol/[pool name]/vm/[VM Name]/os of=/mnt/[pool name]/[storage location]/disk.img bs=2M 17 | ``` 18 | * Then rename the image and compress it, this may take a while. 19 | ``` 20 | mv disk.img os.img 21 | gzip -9 os.img 22 | ``` 23 | * This last little rename/compress step was just to conform with the same naming conventions as my source template, at which point I then edited the ```template.json``` file in the directory created previously to correctly reference this new image and edited some of the book-keeping fields to match, then I uploaded the os.img.gz file to the location specified in the ```url``` field (which could be any HTTP server you have access to) and filled in the ```sha256``` checksum field by running ```shasum -a 256 os.img.gz``` and pasting in the results. 24 | * Finally, commit the result to github with a git commit / git push, then add your github vm-templates repository under VM -> Settings in the form of https://github.com/[username]/vm-templates and voila! Your new template will now show up along with all the other templates. 25 | 26 | ## Manually create a new OS template from an existing template 27 | Here's the step-by-step process I used to create the FreeBSD-current (11.0) 28 | template, using [freebsd-current](ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/11.0/FreeBSD-11.0-CURRENT-amd64-20160518-r300097-disc1.iso) as the 29 | starting image. I also used bhyve running on FreeBSD 10.3 as the bootstrap 30 | host, though some folks have reported good results with xhyve on the Mac. 31 | 32 | * First, obviously, I needed to check out the vm-templates repo and start working in it: 33 | ``` 34 | git clone https://github.com/freenas/vm-templates.git 35 | cd vm-templates.git 36 | ``` 37 | 38 | * Next, you have to acquire the template disk image, I copied the template that looked the most like my target template. In my case, since I was targetting another FreeBSD template, it was obvious enough to simply duplicate the existing FreeBSD 10.2-zfs template (a 10.2 install with the ZFS option selected). 39 | ``` 40 | cp -pr freebsd-10.2-zfs freebsd-11-zfs 41 | ``` 42 | 43 | * Then I grabbed an ISO installation image from ftp.freebsd.org, as linked above, and started the steps to get bhyve ready to boot it: 44 | ``` 45 | # Note: These initialization steps for bhyve are necessary to do only once. 46 | kldload vmm 47 | ifconfig tap0 create 48 | sysctl net.link.tap.up_on_open=1 49 | ifconfig bridge0 create 50 | ifconfig bridge0 addm igb0 addm tap0 # replace igb0 with your primary NIC 51 | ifconfig bridge0 up 52 | 53 | # Now make a 16gb image file for the HD - this is referenced later, too. 54 | truncate -s 16g disk.img 55 | ``` 56 | * Then I ran bhyve's helpful vmrun.sh script to start things off. 57 | ``` 58 | sh /usr/share/examples/bhyve/vmrun.sh -c 1 -m 1024M -t tap0 -d disk.img -i -I FreeBSD-11.0-CURRENT-amd64-20160518-r300097-disc1.iso freebsd-current 59 | ``` 60 | * At this point, FreeBSD's standard installer ran, the appropriate ZFS installation options were chosen, and I exited bhyve by selecting the loader prompt on the next reboot and typing "quit". This dropped me back to the shell on the host OS, where I was next able to do: 61 | 62 | ``` 63 | mv disk.img os.img 64 | gzip -9 os.img 65 | ``` 66 | This last little rename/compress step was just to conform with the same naming conventions as my source template, at which point I then edited the ```template.json``` file in my new freebsd-11-zfs direcory to correctly reference this new image and edited some of the book-keeping fields to match, then I uploaded the os.img.gz file to the location specified in the ```url``` field (which could be any HTTP server you have access to) and filled in the ```sha256``` checksum field by running ```shasum -a 256 os.img.gz``` and pasting in the results. 67 | 68 | * Finally, I committed the result to github with a git commit / git push, added my github vm-templates repository under VM -> Settings in the form of https://github.com/[username]/vm-templates and voila! My FreeNAS 10 CLI now shows: 69 | 70 | ``` 71 | unix::>vm template show 72 | Name Description 73 | boot2docker boot2docker Docker host for FreeNAS 74 | ubuntu-server-14.04 Ubuntu Server 14.04 75 | ubuntu-cloud-14.04 Ubuntu Cloud Edition 14.04 76 | freebsd-10.2-zfs FreeBSD 10.2 image with root on ZFS 77 | freebsd-11-zfs FreeBSD 11-current image with root on ZFS 78 | ``` 79 | 80 | Demonstrating that the template list is automatically pulled from github. 81 | 82 | * Of course, the final proof was to actually create a VM with the new template on my FreeNAS 10 box: 83 | 84 | ``` 85 | unix::>vm create name=bleedingedge template=freebsd-11-zfs enabled=yes volume=tank 86 | unix::>vm bleedingedge start 87 | unix::>vm bleedingedge console 88 | ``` 89 | 90 | Login is a root (no password), tada! Running FreeBSD-current from this new template. 91 | -------------------------------------------------------------------------------- /arch-linux-20170113/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: root 5 | Password: arch 6 | ``` 7 | 8 | ## Notes: 9 | 10 | This VM contains a minimal Arch Linux distribution image. 11 | -------------------------------------------------------------------------------- /arch-linux-20170113/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "arch-linux-20170113", 4 | "author": "Erin Clark ", 5 | "description": "Arch Linux VM image", 6 | "created_at": { 7 | "$date": "2016-08-31T02:39:54" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-03-01T01:20:00" 11 | }, 12 | "fetch": [ 13 | { 14 | "name": "os", 15 | "url": "http://download.freenas.org/vm-templates/arch-linux-20170113/os.img.gz", 16 | "sha256": "7108a379efbb8a7e633964ca683f5d0106945a74c3bd26aff6049932400e6187", 17 | "size": 862559690 18 | } 19 | ] 20 | }, 21 | "config": { 22 | "ncpus": 1, 23 | "bootloader": "GRUB", 24 | "memsize": 1024, 25 | "minmemsize": 512, 26 | "boot_device": "os", 27 | "boot_partition": "msdos1" 28 | }, 29 | "devices": [ 30 | { 31 | "type": "NIC", 32 | "name": "nic", 33 | "properties": { 34 | "mode": "BRIDGED", 35 | "bridge": "default", 36 | "device": "VIRTIO" 37 | } 38 | }, 39 | { 40 | "type": "DISK", 41 | "name": "os", 42 | "properties": { 43 | "size": 8589934592, 44 | "mode": "AHCI", 45 | "source": "os" 46 | } 47 | } 48 | ], 49 | "guest_type": "linux64" 50 | } 51 | -------------------------------------------------------------------------------- /boot2docker/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: root 5 | Password: 6 | ``` 7 | 8 | ## Notes: 9 | 10 | This very minimal VM is a Docker host used in FreeNAS as a containers provider. 11 | -------------------------------------------------------------------------------- /boot2docker/files/grub/grub.cfg.in: -------------------------------------------------------------------------------- 1 | linux (host)"${VM_ROOT}/files/grub/vmlinuz64" user=docker noembed norestore 2 | initrd (host)"${VM_ROOT}/files/grub/initrd" 3 | boot 4 | -------------------------------------------------------------------------------- /boot2docker/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "boot2docker", 4 | "author": "Jakub Klama ", 5 | "description": "boot2docker Docker host for FreeNAS", 6 | "created_at": { 7 | "$date": "2016-02-10T22:45:38" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-03-09T12:06:55" 11 | }, 12 | "files": true, 13 | "fetch": [ 14 | { 15 | "name": "vmlinuz64", 16 | "url": "http://download.freenas.org/vm-templates/boot2docker/vmlinuz64.gz", 17 | "sha256": "c12e1ff7058dee47793961975fe072298ffebe915b899c92d0a08964ca42b05b", 18 | "size": 3632171, 19 | "dest": "grub" 20 | }, 21 | { 22 | "name": "initrd", 23 | "url": "http://download.freenas.org/vm-templates/boot2docker/initrd.img.gz", 24 | "sha256": "d3fe57d01131e9e50df1b7509e6b3d4127380c8bbf803037b150d9a4ecee3b24", 25 | "size": 43586790, 26 | "dest": "grub" 27 | } 28 | ] 29 | }, 30 | "config": { 31 | "docker_host": true, 32 | "ncpus": 1, 33 | "bootloader": "GRUB", 34 | "memsize": 2048, 35 | "minmemsize": 1024, 36 | "boot_directory": "grub", 37 | "autostart": true 38 | }, 39 | "devices": [ 40 | { 41 | "type": "NIC", 42 | "name": "mgmt", 43 | "properties": { 44 | "mode": "MANAGEMENT" 45 | } 46 | }, 47 | { 48 | "type": "NIC", 49 | "name": "bridge", 50 | "properties": { 51 | "mode": "BRIDGED", 52 | "bridge": "default" 53 | } 54 | }, 55 | { 56 | "type": "VOLUME", 57 | "name": "docker", 58 | "properties": { 59 | "type": "VT9P", 60 | "auto": true 61 | } 62 | }, 63 | { 64 | "type": "VOLUME", 65 | "name": "mnt", 66 | "properties": { 67 | "type": "VT9P", 68 | "destination": "/mnt", 69 | "auto": false 70 | } 71 | } 72 | ], 73 | "guest_type": "linux64" 74 | } 75 | -------------------------------------------------------------------------------- /centos-7-1511/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: root 5 | Password: centos 6 | ``` 7 | 8 | ## Notes: 9 | 10 | This VM contains a very basic Centos 7 1511 image. 11 | -------------------------------------------------------------------------------- /centos-7-1511/files/grub/grub.cfg: -------------------------------------------------------------------------------- 1 | configfile (hd0,msdos1)/grub2/grub.cfg 2 | -------------------------------------------------------------------------------- /centos-7-1511/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "centos-7-1511", 4 | "author": "Wojciech Kloska ", 5 | "description": "Centos 7 image", 6 | "created_at": { 7 | "$date": "2016-05-25T19:20:00" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-01-08T16:22:54" 11 | }, 12 | "files": true, 13 | "fetch": [ 14 | { 15 | "name": "os", 16 | "url": "http://download.freenas.org/vm-templates/centos-7-1511/os.img.gz", 17 | "sha256": "8a4c5ce67c5185af2d89241510792ae08daeaa0fc29a04c962db187929baec34", 18 | "size": 426981794 19 | } 20 | ] 21 | }, 22 | "config": { 23 | "ncpus": 1, 24 | "bootloader": "GRUB", 25 | "memsize": 1024, 26 | "minmemsize": 512, 27 | "boot_directory": "grub" 28 | }, 29 | "devices": [ 30 | { 31 | "type": "NIC", 32 | "name": "nic", 33 | "properties": { 34 | "mode": "NAT" 35 | } 36 | }, 37 | { 38 | "type": "DISK", 39 | "name": "os", 40 | "properties": { 41 | "size": 8589934592, 42 | "mode": "AHCI", 43 | "source": "os" 44 | } 45 | } 46 | ], 47 | "guest_type": "linux64" 48 | } -------------------------------------------------------------------------------- /debian-8.4.0/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: debian 5 | Password: debian 6 | ``` 7 | (Root password is also ```debian```) 8 | 9 | ## Notes: 10 | 11 | This VM contains a minimal Debian 8.4.0 distribution image. 12 | -------------------------------------------------------------------------------- /debian-8.4.0/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "debian-8.4.0", 4 | "author": "Wojciech Kloska ", 5 | "description": "Debian 8.4.0 linux VM image", 6 | "created_at": { 7 | "$date": "2016-05-25T22:33:32" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-01-08T16:22:54" 11 | }, 12 | "fetch": [ 13 | { 14 | "name": "os", 15 | "url": "http://download.freenas.org/vm-templates/debian-8.4.0/os.img.gz", 16 | "sha256": "7ba40506e478c62dfb5e690ced6637fa8d524627cf7273473fc98aae859f317f", 17 | "size": 623470415 18 | } 19 | ] 20 | }, 21 | "config": { 22 | "ncpus": 1, 23 | "bootloader": "GRUB", 24 | "memsize": 1024, 25 | "minmemsize": 512, 26 | "boot_device": "os", 27 | "boot_partition": "msdos1" 28 | }, 29 | "devices": [ 30 | { 31 | "type": "NIC", 32 | "name": "nic", 33 | "properties": { 34 | "mode": "NAT" 35 | } 36 | }, 37 | { 38 | "type": "DISK", 39 | "name": "os", 40 | "properties": { 41 | "size": 10737418240, 42 | "mode": "AHCI", 43 | "source": "os" 44 | } 45 | } 46 | ], 47 | "guest_type": "linux64" 48 | } 49 | -------------------------------------------------------------------------------- /fedora-23-server/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: root 5 | Password: fedora 6 | ``` 7 | 8 | ## Notes: 9 | 10 | This VM contains the minimal Fedora 23 server distribution image. 11 | -------------------------------------------------------------------------------- /fedora-23-server/files/grub/grub.cfg: -------------------------------------------------------------------------------- 1 | configfile (hd0,msdos1)/grub2/grub.cfg 2 | -------------------------------------------------------------------------------- /fedora-23-server/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "fedora-23-server", 4 | "author": "Wojciech Kloska ", 5 | "description": "Fedora Release 23 - Server version", 6 | "created_at": { 7 | "$date": "2016-05-25T22:02:32" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-01-08T16:22:54" 11 | }, 12 | "files": true, 13 | "fetch": [ 14 | { 15 | "name": "os", 16 | "url": "http://download.freenas.org/vm-templates/fedora-23-server/os.img.gz", 17 | "sha256": "fed7971d05b805b13580beafd323c53d8748aa26cdd336b0d85a3751052b6f73", 18 | "size": 571166696 19 | } 20 | ] 21 | }, 22 | "config": { 23 | "ncpus": 1, 24 | "bootloader": "GRUB", 25 | "memsize": 1024, 26 | "minmemsize": 512, 27 | "boot_directory": "grub" 28 | }, 29 | "devices": [ 30 | { 31 | "type": "NIC", 32 | "name": "nic", 33 | "properties": { 34 | "mode": "NAT" 35 | } 36 | }, 37 | { 38 | "type": "DISK", 39 | "name": "os", 40 | "properties": { 41 | "size": 17179869184, 42 | "mode": "AHCI", 43 | "source": "os" 44 | } 45 | } 46 | ], 47 | "guest_type": "linux64" 48 | } -------------------------------------------------------------------------------- /freebsd-10.3-zfs/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: root 5 | Password: 6 | ``` 7 | 8 | ## Notes: 9 | 10 | This VM contains the basic binary distribution of FreeBSD 10.3 on a ZFS root filesystem. 11 | It also contains an up-to-date (at the time of the template's creation) /usr/ports in its own 12 | ZFS dataset. 13 | -------------------------------------------------------------------------------- /freebsd-10.3-zfs/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "freebsd-10.3-zfs", 4 | "author": "Jordan Hubbard ", 5 | "description": "FreeBSD 10.3 image with root on ZFS", 6 | "created_at": { 7 | "$date": "2016-05-24T09:44:48" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-01-08T16:22:54" 11 | }, 12 | "fetch": [ 13 | { 14 | "name": "os", 15 | "url": "http://download.freenas.org/vm-templates/freebsd-10.3-zfs/os.img.gz", 16 | "sha256": "5df82b4ceec8439129be4be0cd156a16ce845a1ba193abdd729a26c7aa74d79c", 17 | "size": 434838312 18 | } 19 | ] 20 | }, 21 | "config": { 22 | "ncpus": 1, 23 | "bootloader": "BHYVELOAD", 24 | "memsize": 1024, 25 | "minmemsize": 512, 26 | "boot_device": "os" 27 | }, 28 | "devices": [ 29 | { 30 | "type": "DISK", 31 | "name": "os", 32 | "properties": { 33 | "size": 17179869184, 34 | "mode": "AHCI", 35 | "source": "os" 36 | } 37 | }, 38 | { 39 | "type": "NIC", 40 | "name": "nic", 41 | "properties": { 42 | "mode": "NAT" 43 | } 44 | } 45 | ], 46 | "guest_type": "freebsd64" 47 | } -------------------------------------------------------------------------------- /freebsd-12-zfs/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: root 5 | Password: 6 | ``` 7 | 8 | ## Notes: 9 | 10 | This Developer-centric VM contains the basic binary distribution of FreeBSD 12 (-current) on a ZFS root filesystem, as well as basic developer tools like Python and Ruby. The /usr/src and /usr/ports trees are checked out from github, are current as of the time this template was created, and can be updated with git (also installed). 11 | -------------------------------------------------------------------------------- /freebsd-12-zfs/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "freebsd-12-zfs", 4 | "author": "Jordan Hubbard ", 5 | "description": "FreeBSD 12.0-20160809-r303880 image with root on ZFS", 6 | "created_at": { 7 | "$date": "2016-09-11T10:52:00" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-01-08T16:22:54" 11 | }, 12 | "fetch": [ 13 | { 14 | "name": "os", 15 | "url": "http://download.freenas.org/vm-templates/freebsd-12-zfs/os.img.gz", 16 | "sha256": "c6f8070f23b550009b28b73af8f3478b381e8d951dc5353b5277dad9291bb487", 17 | "size": 1657015858 18 | } 19 | ] 20 | }, 21 | "config": { 22 | "ncpus": 1, 23 | "bootloader": "BHYVELOAD", 24 | "memsize": 1024, 25 | "minmemsize": 512, 26 | "boot_device": "os" 27 | }, 28 | "devices": [ 29 | { 30 | "type": "DISK", 31 | "name": "os", 32 | "properties": { 33 | "size": 10737418240, 34 | "mode": "VIRTIO", 35 | "source": "os" 36 | } 37 | }, 38 | { 39 | "type": "NIC", 40 | "name": "nic", 41 | "properties": { 42 | "mode": "BRIDGED", 43 | "bridge": "default", 44 | "device": "VIRTIO" 45 | } 46 | } 47 | ], 48 | "guest_type": "freebsd64" 49 | } 50 | -------------------------------------------------------------------------------- /linux-mint-cinnamon-18/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: mint 5 | Password: mint 6 | 7 | Root Password: root 8 | ``` 9 | 10 | ## VNC INFO 11 | ``` 12 | IP: Freenas 10 Machine's IP 13 | PORT: 7777 14 | ``` 15 | 16 | ## Notes: 17 | 18 | This VM contains the cinnamon desktop flavor of the mint linux distro version 18. 19 | SSH is enabled (just not as root but as the user `mint`) 20 | It has a network adapter (named `enp0s3` in ifconfig) which is in BRIDGED mode 21 | Enjoy! 22 | -------------------------------------------------------------------------------- /linux-mint-cinnamon-18/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "linux-mint-cinnamon-18", 4 | "author": "Suraj Ravichandran ", 5 | "description": "Linux Mint 18 (Codename: Sarah) Cinnamon Flavor (long term support release, until 2021) with preconfigured VNC", 6 | "created_at": { 7 | "$date": "2016-09-01T01:44:00" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-01-08T16:22:54" 11 | }, 12 | "fetch": [ 13 | { 14 | "name": "os", 15 | "url": "http://download.freenas.org/vm-templates/linux-mint-cinnamon-18/os.img.gz", 16 | "sha256": "ea5408923130e63db3326dabf1c1595c3b2b8dec6ba6837ec07731f101409721", 17 | "size": 2291250771 18 | } 19 | ] 20 | }, 21 | "config": { 22 | "ncpus": 2, 23 | "bootloader": "UEFI", 24 | "memsize": 2048, 25 | "minmemsize": 1024 26 | }, 27 | "devices": [ 28 | { 29 | "type": "DISK", 30 | "name": "os", 31 | "properties": { 32 | "size": 21474836480, 33 | "mode": "AHCI", 34 | "source": "os" 35 | } 36 | }, 37 | { 38 | "type": "NIC", 39 | "name": "nic", 40 | "properties": { 41 | "mode": "BRIDGED", 42 | "device": "VIRTIO", 43 | "bridge": "default" 44 | } 45 | }, 46 | { 47 | "type": "GRAPHICS", 48 | "name": "framebuffer", 49 | "properties": { 50 | "resolution": "1024x768", 51 | "vnc_enabled": true, 52 | "vnc_port": 7777 53 | } 54 | }, 55 | { 56 | "type": "USB", 57 | "name": "tablet", 58 | "properties": { 59 | "device": "tablet" 60 | } 61 | } 62 | ], 63 | "guest_type": "linux64" 64 | } -------------------------------------------------------------------------------- /netbsd-7.0.1/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: root 5 | Password: 6 | ``` 7 | 8 | ## Notes: 9 | 10 | This VM contains a very basic NetBSD 7.0.1 image. 11 | -------------------------------------------------------------------------------- /netbsd-7.0.1/files/grub/grub.cfg: -------------------------------------------------------------------------------- 1 | knetbsd -h -r ld0a (hd0,msdos1)/netbsd 2 | boot 3 | -------------------------------------------------------------------------------- /netbsd-7.0.1/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "netbsd-7.0.1", 4 | "author": "Wojciech Kloska ", 5 | "description": "NetBSD 7.0.1 image", 6 | "created_at": { 7 | "$date": "2016-06-23T18:02:00" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-01-08T16:22:54" 11 | }, 12 | "files": true, 13 | "fetch": [ 14 | { 15 | "name": "os", 16 | "url": "http://download.freenas.org/vm-templates/netbsd-7.0.1/os.img.gz", 17 | "sha256": "8e5b9955f57231950cb9a25486cda29c3d2b62d5b7d89d4b87d84783794714dc", 18 | "size": 229230323 19 | } 20 | ] 21 | }, 22 | "config": { 23 | "ncpus": 2, 24 | "bootloader": "GRUB", 25 | "memsize": 1024, 26 | "minmemsize": 512, 27 | "boot_directory": "grub" 28 | }, 29 | "devices": [ 30 | { 31 | "type": "NIC", 32 | "name": "nic", 33 | "properties": { 34 | "mode": "NAT" 35 | } 36 | }, 37 | { 38 | "type": "DISK", 39 | "name": "os", 40 | "properties": { 41 | "size": 8589934592, 42 | "mode": "VIRTIO", 43 | "source": "os" 44 | } 45 | } 46 | ], 47 | "guest_type": "netbsd64" 48 | } -------------------------------------------------------------------------------- /opensuse-42.1/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: root 5 | Password: opensuse 6 | ``` 7 | 8 | ## Notes: 9 | 10 | This VM contains the basic binary distribution of OpenSuse 42.1. 11 | -------------------------------------------------------------------------------- /opensuse-42.1/files/grub/grub.cfg: -------------------------------------------------------------------------------- 1 | configfile (hd0,msdos2)/boot/grub2/grub.cfg 2 | -------------------------------------------------------------------------------- /opensuse-42.1/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "opensuse-42.1", 4 | "author": "Wojciech Kloska ", 5 | "description": "openSUSE 42.1 VM image", 6 | "created_at": { 7 | "$date": "2016-05-25T23:59:44" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-01-08T16:22:54" 11 | }, 12 | "files": true, 13 | "fetch": [ 14 | { 15 | "name": "os", 16 | "url": "http://download.freenas.org/vm-templates/opensuse-42.1/os.img.gz", 17 | "sha256": "af563859cf70f096793aaedf5baaa006143b8dca99a6fc4e11d65d634717da84", 18 | "size": 568226635 19 | } 20 | ] 21 | }, 22 | "config": { 23 | "ncpus": 1, 24 | "bootloader": "GRUB", 25 | "memsize": 1024, 26 | "minmemsize": 1024, 27 | "boot_directory": "grub" 28 | }, 29 | "devices": [ 30 | { 31 | "type": "NIC", 32 | "name": "nic", 33 | "properties": { 34 | "mode": "NAT" 35 | } 36 | }, 37 | { 38 | "type": "DISK", 39 | "name": "os", 40 | "properties": { 41 | "size": 4294967296, 42 | "mode": "AHCI", 43 | "source": "os" 44 | } 45 | } 46 | ], 47 | "guest_type": "linux64" 48 | } -------------------------------------------------------------------------------- /pfsense-2.3.1/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: admin 5 | Password: pfsense 6 | ``` 7 | 8 | ## Notes: 9 | 10 | This VM contains the basic binary distribution of Pfsense 3.2.1. 11 | The installed kernel is an embedded version without VGA support. 12 | -------------------------------------------------------------------------------- /pfsense-2.3.1/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "pfsense-2.3.1", 4 | "author": "Wojciech Kloska ", 5 | "description": "Pfsense 2.3.1 image", 6 | "created_at": { 7 | "$date": "2015-06-02T20:11:52" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-01-08T16:22:54" 11 | }, 12 | "fetch": [ 13 | { 14 | "name": "os", 15 | "url": "http://download.freenas.org/vm-templates/pfsense-2.3.1/os.img.gz", 16 | "sha256": "85ebd9c86ac8950e3d3a44347a66c50590501593bb18f57cc7b674b86af432a1", 17 | "size": 194503662 18 | } 19 | ] 20 | }, 21 | "config": { 22 | "ncpus": 1, 23 | "bootloader": "BHYVELOAD", 24 | "memsize": 1024, 25 | "minmemsize": 512, 26 | "boot_device": "os" 27 | }, 28 | "devices": [ 29 | { 30 | "type": "DISK", 31 | "name": "os", 32 | "properties": { 33 | "size": 1073741824, 34 | "mode": "AHCI", 35 | "source": "os" 36 | } 37 | }, 38 | { 39 | "type": "NIC", 40 | "name": "nic", 41 | "properties": { 42 | "mode": "NAT" 43 | } 44 | } 45 | ], 46 | "guest_type": "freebsd64" 47 | } -------------------------------------------------------------------------------- /smartos-20160915/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: root 5 | Password: smartos 6 | ``` 7 | 8 | ## Notes: 9 | 10 | This VM contains a SmartOS build:20160915T211220Z VM working on UEFI CSM bootrom. 11 | System is booting from a CDROM device, although it also contains DISK device 12 | storing rest of installed system and user data. Because of such configuration 13 | CDROM device should not be ever removed. 14 | 15 | SmartOS prints first part of boot messages into other console, 16 | so please be patient on initial blank screen in main console. 17 | -------------------------------------------------------------------------------- /smartos-20160915/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "smartos-20160915", 4 | "author": "Wojciech Kloska ", 5 | "description": "SmartOS build:20160915T211220Z", 6 | "created_at": { 7 | "$date": "2016-09-18T19:55:37" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-01-08T16:22:54" 11 | }, 12 | "files": true, 13 | "fetch": [ 14 | { 15 | "name": "data", 16 | "url": "http://download.freenas.org/vm-templates/smartos-20160915/data.img.gz", 17 | "sha256": "e7c4054fe53385876dbdb1571dc3e030ddc80e8dcd00c6bcef4c4c3620431b8c", 18 | "size": 6688326 19 | }, 20 | { 21 | "name": "system.iso", 22 | "url": "http://download.freenas.org/vm-templates/smartos-20160915/system.iso.gz", 23 | "sha256": "4f31769c5cc16635d5f87096312148273ce0f9c70c24c2f7b93f135ee12b0f61", 24 | "size": 162031629, 25 | "dest": "." 26 | } 27 | ] 28 | }, 29 | "config": { 30 | "ncpus": 2, 31 | "bootloader": "UEFI_CSM", 32 | "memsize": 2048, 33 | "minmemsize": 1024 34 | }, 35 | "devices": [ 36 | { 37 | "type": "CDROM", 38 | "name": "system", 39 | "properties": { 40 | "path": "files/system.iso" 41 | } 42 | }, 43 | { 44 | "type": "DISK", 45 | "name": "data", 46 | "properties": { 47 | "size": 4294967296, 48 | "mode": "AHCI", 49 | "source": "data" 50 | } 51 | }, 52 | { 53 | "type": "NIC", 54 | "name": "nic", 55 | "properties": { 56 | "mode": "NAT", 57 | "device": "VIRTIO" 58 | } 59 | } 60 | ], 61 | "guest_type": "freebsd64" 62 | } 63 | -------------------------------------------------------------------------------- /solaris-11.3/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: root 5 | Password: solaris1 6 | ``` 7 | 8 | ## Notes: 9 | 10 | This VM contains a Solaris 11.3 VM working on UEFI CSM bootrom. It has 11 | a networking device preconfigured as net0, though you will still need to 12 | configure that device with a static IP address or DHCP, e.g. 13 | "ifconfig net0 dhcp" before things fully work. 14 | -------------------------------------------------------------------------------- /solaris-11.3/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "solaris-11.3", 4 | "author": "Wojciech Kloska ", 5 | "description": "Solaris 11.3", 6 | "created_at": { 7 | "$date": "2016-06-24T12:26:21" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-01-08T16:22:54" 11 | }, 12 | "fetch": [ 13 | { 14 | "name": "os", 15 | "url": "http://download.freenas.org/vm-templates/solaris-11.3/os.img.gz", 16 | "sha256": "eb3b4b6e5cc01cec5082adefcd66ee6a4fdbe8eea5836398abb52f48bb98376d", 17 | "size": 1245019866 18 | } 19 | ] 20 | }, 21 | "config": { 22 | "ncpus": 2, 23 | "bootloader": "UEFI_CSM", 24 | "memsize": 2048, 25 | "minmemsize": 1024, 26 | "boot_device": "os" 27 | }, 28 | "devices": [ 29 | { 30 | "type": "DISK", 31 | "name": "os", 32 | "properties": { 33 | "size": 8589934592, 34 | "mode": "AHCI", 35 | "source": "os" 36 | } 37 | }, 38 | { 39 | "type": "NIC", 40 | "name": "nic", 41 | "properties": { 42 | "mode": "NAT", 43 | "device": "E1000" 44 | } 45 | } 46 | ], 47 | "guest_type": "solaris64" 48 | } 49 | -------------------------------------------------------------------------------- /trueos-desktop-12/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: trueos 5 | Password: trueos 6 | 7 | Root Password: meh 8 | ``` 9 | 10 | ## VNC INFO 11 | ``` 12 | IP: Freenas 10 Machine's IP 13 | PORT: 6666 14 | ``` 15 | 16 | ## Notes: 17 | 18 | This VM contains trueos 12 desktop OS (formerly known as PC-BSD). 19 | SSH is enabled (just not as root but as the user `trueos`) 20 | It has a network adapter (named `em0` in ifconfig) which is in BRIDGED mode 21 | Enjoy! 22 | -------------------------------------------------------------------------------- /trueos-desktop-12/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "trueos-desktop-12", 4 | "author": "Suraj Ravichandran ", 5 | "description": "TrueOS 12 (formerly PC-BSD) Desktop Version with VNC session started automatically", 6 | "created_at": { 7 | "$date": "2016-09-12T08:15:00" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-01-08T16:22:54" 11 | }, 12 | "fetch": [ 13 | { 14 | "name": "os", 15 | "url": "http://download.freenas.org/vm-templates/trueos-desktop-12/os.img.gz", 16 | "sha256": "06bed8b7f572e310faeeb5d478547d5e08cdeb51e7bd4ed18b2ba0ac06789719", 17 | "size": 2054240256 18 | } 19 | ] 20 | }, 21 | "config": { 22 | "ncpus": 2, 23 | "bootloader": "UEFI", 24 | "memsize": 2048, 25 | "minmemsize": 1024, 26 | "boot_device": "os" 27 | }, 28 | "devices": [ 29 | { 30 | "type": "DISK", 31 | "name": "os", 32 | "properties": { 33 | "size": 17179869184, 34 | "mode": "VIRTIO", 35 | "source": "os" 36 | } 37 | }, 38 | { 39 | "type": "NIC", 40 | "name": "nic", 41 | "properties": { 42 | "mode": "BRIDGED", 43 | "device": "E1000", 44 | "bridge": "default" 45 | } 46 | }, 47 | { 48 | "type": "GRAPHICS", 49 | "name": "framebuffer", 50 | "properties": { 51 | "resolution": "1024x768", 52 | "vnc_enabled": true, 53 | "vnc_port": 6666 54 | } 55 | } 56 | ], 57 | "guest_type": "freebsd64" 58 | } 59 | -------------------------------------------------------------------------------- /ubuntu-14.04-9p/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: root 5 | Password: 6 | ``` 7 | 8 | ## Notes: 9 | 10 | This VM contains an Ubuntu 14.04 Core root filesystem with the Ubuntu 14.04 kernel. 11 | The Root filesystem is not a block device, but a ZFS dataset with the root filesystem 12 | mounted in the VM using 9pfs sharing. This means that they VM is not limited to a 13 | fixed image size and is free to expand to the size of ZFS pool containing the 14 | root filesystem dataset on the host. 15 | -------------------------------------------------------------------------------- /ubuntu-14.04-9p/files/grub/grub.cfg.in: -------------------------------------------------------------------------------- 1 | linux (host)"${VM_ROOT}/rootfs/vmlinuz" root=rootfs rootfstype=9p rootflags=version=9p2000.u console=ttyS0,115200n8 2 | initrd (host)"${VM_ROOT}/rootfs/initrd.img" 3 | boot 4 | -------------------------------------------------------------------------------- /ubuntu-14.04-9p/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "ubuntu-14.04-9p", 4 | "author": "Wojciech Kloska ", 5 | "description": "Diskless Ubuntu 14.04 with rootfs on 9p share", 6 | "created_at": { 7 | "$date": "2016-05-29T01:10:27" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-01-08T16:22:54" 11 | }, 12 | "files": true, 13 | "fetch": [ 14 | { 15 | "name": "rootfs", 16 | "url": "http://download.freenas.org/vm-templates/ubuntu-14.04-9p/rootfs.tar.gz", 17 | "sha256": "7ede6ed4ebc7b9687c52fba3d574e694142914c7a7cbc30f7a30b14b9d22b39c", 18 | "size": 95849105 19 | } 20 | ] 21 | }, 22 | "config": { 23 | "ncpus": 1, 24 | "bootloader": "GRUB", 25 | "memsize": 1024, 26 | "minmemsize": 512, 27 | "boot_directory": "grub" 28 | }, 29 | "devices": [ 30 | { 31 | "type": "NIC", 32 | "name": "nic", 33 | "properties": { 34 | "mode": "NAT" 35 | } 36 | }, 37 | { 38 | "type": "VOLUME", 39 | "name": "rootfs", 40 | "properties": { 41 | "type": "VT9P", 42 | "auto": true, 43 | "source": "rootfs" 44 | } 45 | } 46 | ], 47 | "guest_type": "linux64" 48 | } 49 | -------------------------------------------------------------------------------- /ubuntu-server-16.04-vnc/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: ubuntu 5 | Password: ubuntu 6 | ``` 7 | 8 | ## Notes: 9 | 10 | This VM contains the Ubuntu 16.04 Server distribution image. 11 | This VM has also vncserver preinstalled, set to start at boot time 12 | so that the VM can be accessed from the outside network without 13 | needing to use a serial console. 14 | -------------------------------------------------------------------------------- /ubuntu-server-16.04-vnc/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "ubuntu-server-16.04-vnc", 4 | "author": "Wojciech Kloska ", 5 | "description": "Ubuntu Server 16.04 with VNC session started automatically", 6 | "created_at": { 7 | "$date": "2016-05-26T14:02:22" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-01-08T16:22:54" 11 | }, 12 | "fetch": [ 13 | { 14 | "name": "os", 15 | "url": "http://download.freenas.org/vm-templates/ubuntu-server-16.04-vnc/os.img.gz", 16 | "sha256": "d73224e26e28f711fc3ecbddae2cfff194be9dd1974e3a644b30e56fb6422788", 17 | "size": 1321161313 18 | } 19 | ] 20 | }, 21 | "config": { 22 | "ncpus": 2, 23 | "bootloader": "GRUB", 24 | "memsize": 2048, 25 | "minmemsize": 1024, 26 | "boot_device": "os", 27 | "boot_partition": "msdos1" 28 | }, 29 | "devices": [ 30 | { 31 | "type": "DISK", 32 | "name": "os", 33 | "properties": { 34 | "size": 17179869184, 35 | "mode": "AHCI", 36 | "source": "os" 37 | } 38 | }, 39 | { 40 | "type": "NIC", 41 | "name": "nic", 42 | "properties": { 43 | "mode": "BRIDGED", 44 | "bridge": "default" 45 | } 46 | } 47 | ], 48 | "guest_type": "linux64" 49 | } -------------------------------------------------------------------------------- /zentyal-4.2/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: zentyal 5 | Password: zentyal 6 | Domain administrator password: zentyal 7 | ``` 8 | ## Notes: 9 | 10 | After the boot process, the GUI is available at https://your_server_ip:8443. 11 | Zentyal appliance is bridged by default to the main FreeNAS interface, so it can receive needed configuration automatically from DHCP. 12 | Please use provided credentials to log in to the GUI. 13 | -------------------------------------------------------------------------------- /zentyal-4.2/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "zentyal-4.2", 4 | "author": "Bartosz Prokop ", 5 | "description": "Zentyal 4.2 appliance", 6 | "created_at": { 7 | "$date": "2016-09-29T16:22:54" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-02-17T19:38:24" 11 | }, 12 | "fetch": [ 13 | { 14 | "name": "os", 15 | "url": "http://download.freenas.org/vm-templates/zentyal-4.2/os.img.gz", 16 | "sha256": "426031cb0e375e595e588d77ac73bb46ea2204f6a291f6bb99f94f6938ece9e0", 17 | "size": 1811466221 18 | } 19 | ] 20 | }, 21 | "config": { 22 | "ncpus": 1, 23 | "bootloader": "GRUB", 24 | "memsize": 1024, 25 | "minmemsize": 1024, 26 | "boot_device": "os", 27 | "boot_partition": "msdos1" 28 | }, 29 | "devices": [ 30 | { 31 | "type": "DISK", 32 | "name": "os", 33 | "properties": { 34 | "size": 17179869184, 35 | "mode": "AHCI", 36 | "source": "os" 37 | } 38 | }, 39 | { 40 | "type": "NIC", 41 | "name": "nic", 42 | "properties": { 43 | "mode": "BRIDGED", 44 | "bridge": "default", 45 | "device": "VIRTIO" 46 | } 47 | } 48 | ], 49 | "guest_type": "linux64" 50 | } 51 | -------------------------------------------------------------------------------- /zentyal-5.0/README.md: -------------------------------------------------------------------------------- 1 | ## Login instructions: 2 | 3 | ``` 4 | Username: zentyal 5 | Password: zentyal 6 | Domain administrator password: zentyal 7 | ``` 8 | ## Notes: 9 | 10 | After the boot process, the GUI is available at https://your_server_ip:8443. 11 | Zentyal appliance is bridged by default to the main FreeNAS interface, so it can receive needed configuration automatically from DHCP. 12 | Please use provided credentials to log in to the GUI. 13 | -------------------------------------------------------------------------------- /zentyal-5.0/template.json: -------------------------------------------------------------------------------- 1 | { 2 | "template": { 3 | "name": "zentyal-5.0", 4 | "author": "Bartosz Prokop ", 5 | "description": "Zentyal 5.0 appliance", 6 | "created_at": { 7 | "$date": "2017-03-28T20:22:54" 8 | }, 9 | "updated_at": { 10 | "$date": "2017-03-29T23:22:54" 11 | }, 12 | "fetch": [ 13 | { 14 | "name": "os", 15 | "url": "http://download.freenas.org/vm-templates/zentyal-5.0/os.img.gz", 16 | "sha256": "88c1371065dc5902ec6be7dbac4d12a635877dfc45c27649a1a6792531990b6f", 17 | "size": 2575392031 18 | } 19 | ] 20 | }, 21 | "config": { 22 | "ncpus": 1, 23 | "bootloader": "GRUB", 24 | "memsize": 1024, 25 | "minmemsize": 1024, 26 | "boot_device": "os", 27 | "boot_partition": "msdos1" 28 | }, 29 | "devices": [ 30 | { 31 | "type": "DISK", 32 | "name": "os", 33 | "properties": { 34 | "size": 17179869184, 35 | "mode": "AHCI", 36 | "source": "os" 37 | } 38 | }, 39 | { 40 | "type": "NIC", 41 | "name": "nic", 42 | "properties": { 43 | "mode": "BRIDGED", 44 | "bridge": "default", 45 | "device": "VIRTIO" 46 | } 47 | } 48 | ], 49 | "guest_type": "linux64" 50 | } 51 | --------------------------------------------------------------------------------