Merge pull request #10 from djs55/fix-unconfigured-nics

Don't attempt to read configuration of unconfigured NICs
Add an example debian/ubuntu /etc/network/interfaces

Related to issue #15

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Add an example ubuntu /etc/default/xen

Related to issue #12

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Add an example Ubuntu /etc/default/grub

Related to issue #14

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Wizard: Don't fully-qualify paths if not needed

'service' is in /sbin on Fedora, but on Ubuntu it's
in /usr/sbin.   Both directories should be in the user's
PATH, so just naming the executable should work in both
cases.

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Wizard: Disable xend on Debian-based distributions

Signed-off-by: Euan Harris <euan.harris@citrix.com>
Separate RHEL/CentOS network config from Debian/Ubuntu

Related to #15

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Parameterise network configuration over distro type

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
The path to whiptail varies by platform

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
The path to 'service' varies by platform

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Critical bugfixes

I need a typechecker

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Keep track of whether we actually need to rewrite /etc/network/interfaces or not

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #17 from djs55/ubuntu-support

Fix up the network configuration on ubuntu
Merge branch 'debian' of git://github.com/euanh/xenserver-install-wizard

Signed-off-by: David Scott <dave.scott@eu.citrix.com>

Conflicts:
	xapi.py
	xenserver-install-wizard.py
networking: include fedora and centos in the distro list

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
logging: don't fail on Debian/Ubuntu

The settings on Debian/Ubuntu are more debug-friendly so all
we need to do is get out of the way.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #18 from djs55/fix-logging

logging: don't fail on Debian/Ubuntu
debian: update /etc/default/xen

Fixes #12

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Merge pull request #19 from djs55/fix-toolstack

debian: update /etc/default/xen
debian: skip iptables configuration

It seems that the debian/ubuntu firewall configuration is
more xenserver-core friendly, so no need to play with it.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>