Webdev:DevBoxVMImages: Difference between revisions

Line 82: Line 82:
=== Building a plain VM ===
=== Building a plain VM ===


Here's the general process for building a plain VM by hand:
Here's the general process for building a plain VM by hand, without using Vagrant:


* Grab an ISO of your base OS. (eg. MDN is using CentOS)
* Grab an ISO of your base OS. (eg. MDN is using CentOS)
Line 89: Line 89:
** You might want to export an OVA of this base install for future from-scratch builds.
** You might want to export an OVA of this base install for future from-scratch builds.
* Create a [https://raw.github.com/mozilla/kuma/HEAD/scripts/rackspace-bootstrap.sh bootstrap script] that gets Puppet installed and prepares a git clone of the project's source
* Create a [https://raw.github.com/mozilla/kuma/HEAD/scripts/rackspace-bootstrap.sh bootstrap script] that gets Puppet installed and prepares a git clone of the project's source
* As root, run <code>puppet apply /vagrant/puppet/dev-vagrant.pp</code> (or whatever you named it)
* As root, run <code>puppet apply /vagrant/puppet/manifests/dev-vagrant.pp</code> (or whatever you named it)
* Once Puppet has finished, verify that the project is working.
* Once Puppet has finished, verify that the project is working.
* Shutdown the VM and export an OVA
* Shutdown the VM and export an OVA
Confirmed users
920

edits