Webdev:DevBoxVMImages: Difference between revisions

(→‎Building a plain VM: OVA explained)
 
(One intermediate revision by one other user not shown)
Line 98: Line 98:
* Create a VirtualBox VM.
* Create a VirtualBox VM.
* Install the bare minimum of server packages.
* Install the bare minimum of server packages.
** You might want to export an OVA of this base install for future from-scratch builds.
** You might want to export an OVA (Open Virtualization Format archive) 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/manifests/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)
Line 131: Line 131:


== Hints, tips, HOWTOs ==
== Hints, tips, HOWTOs ==
 
===Guest Machine Loses Internet Access===
TBD: Collect info and gotchas on setting up sites in VMs.
If your host machine changes network address while the guest machine is up, the guest machine will lose 'net access. Restart the guest machine to fix.
Confirmed users
396

edits