2014-01-29 04:47:06 -08:00
Base Cycle OS build scripts
===========================
2013-04-05 07:23:17 -07:00
2014-01-29 04:47:06 -08:00
Cycle's OS is based on [NixOS ](http://nixos.org ), a linux distribution with a purely functional
package manager.
2013-11-27 12:54:15 -08:00
2014-01-29 04:47:06 -08:00
These scripts build .box images that can be used by [vagrant ](http://vagrantup.com ), the VM manager, and ISO images that can be installed on bare metal.
2013-11-27 12:54:15 -08:00
2013-11-27 14:04:36 -08:00
2013-11-27 12:54:15 -08:00
Building the images
-------------------
2014-01-29 04:47:06 -08:00
First install [packer ](http://packer.io ) and [virtualbox ](https://www.virtualbox.org/ )
2013-07-22 04:07:17 -07:00
Then:
2013-04-05 07:23:17 -07:00
```
2014-01-29 04:47:06 -08:00
packer build cycle64-template.json
```
The .box image is now ready to go. Install it into Vagrant via:
```
vagrant box add cycle64 cycle64-virtualbox.box
2013-04-05 07:23:17 -07:00
```
2013-11-27 12:54:15 -08:00
2014-01-29 04:47:06 -08:00
Running the images
------------------
To use the box with vagrant
2013-11-27 12:54:15 -08:00
```
2014-01-29 04:47:06 -08:00
cd /your/project/dir
vagrant init cycle64
vagrant up
vagrant ssh
2013-11-27 12:54:15 -08:00
```