packer-nixos/README.md

32 lines
773 B
Markdown
Raw Normal View History

2014-01-29 04:57:36 -08:00
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
2014-01-29 04:57:36 -08:00
See [cycle-sdk](https://bitbucket.org/oxdi/cycle-sdk) if you want the complete development environment (which makes use of the images generated here).
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/)
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
2013-11-27 12:54:15 -08:00