new: Module to install FreeBSD 10.0.

It uses the same aproach that is used with Windows installation, where the iso is modified to incorporate a rules file. Bsdinstall reads such a file (from /etc/) and install the new system according to the rules and scripts found inside. After installing the base groups it's possible to install additional packages specified in the tdl. Running extra commands is not yet possible.

Now all FreeBSD needs is cloud-init so the resulting image can be
deployed and used in the cloud.
fix: Configure the proper shutdown method otherwise it wants to reboot. fix: FreeBSD doesn't need any reboots during setup.
Remove deprecated functions
Speed up guest announcement on newer OSs.

A newer OS that uses NetworkManager can significantly
speed up guest announcement by using dispatch scripts.
These are scripts that execute when a NetworkManager
event happens, like eth0 getting connected.  Note that
we still leave the cron job in place; in the worst
case, the Oz process running on the host may miss
this announcement, and the cron job will make sure that
it gets seen (on average, 30 seconds later).

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Remove most references to aeolusproject.

Since Oz is now run standalone, we want to update the
links and documentation to point to the new place.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Rename RHL70and... to RHL7xand8Guest.

It makes a little more sense :).

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Fix customize step of OpenSUSE 12.3

It now uses systemd, so we have to properly start up
services with that.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Update the Fedora19 auto file to actually work.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Make sure to apply os.path.expanduser to config keys

That is, make sure to apply it to user-supplied paths
as well as default paths.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Small cleanups relating to the sshprivkey parameter.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Remove unused method from Ubuntu.py

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Remove unused arguments from test_ssh_connection

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Move ssh_execute_command and scp_copy_file into Linux.py

It wasn't used anywhere else anyway.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Make sure to close the object, not the underlying fd.

Otherwise, we get an error later when the garbage
collector tries to close out the file descriptor.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
fix typo that removed wrong file during teardown
Teardown was not removing the correct NetworkManager file
Follow subprocess commands as they are executed.

This allows you to debug certain things much more easily.
The slight downside is that this does not work on
platforms without select(), but Oz probably didn't
anyway.  If that becomes an issue, there is a solution
involving threads.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Make sure to use absolute paths.

We need to make sure to use absolute paths everywhere.
Besides being safer, this also avoid problems when trying
to look up volumes in the libvirt storage pools.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Remove unused "remove_repos" method.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
Rename persistent -> persisted.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>