Use the print function instead of the print statement

The print statement has been replaced with a print() function,
with keyword arguments to replace most of the special syntax of
the old print statement (PEP 3105)

* http://docs.python.org/3.0/whatsnew/3.0.html
* http://legacy.python.org/dev/peps/pep-3105/
remove colon from VLAN regex pattern

colons are not used to designate VLANs, but rather virtual interfaces
such as eth0:1.  this is commonly used to add a second IP address
to an interface.

from /etc/sysconfig/network-scripts/ifup:
MATCH='^.+\.[0-9]{1,4}$'
pre_install_network_config: only use slaves with a valid MAC address

without this patch, a slave can be chosen that does not have MAC address,
which leads to network configuration failure in anaconda because
no interface name is found by the subroutine in the snippet

 # cobbler system report --name ztest
Name                           : ztest
...
Interface =====                : bond0
Bonding Opts                   : mode=4 miimon=100
Bridge Opts                    :
CNAMES                         : []
DHCP Tag                       :
DNS Name                       : ztest.example.com
Per-Interface Gateway          :
Master Interface               :
Interface Type                 : bond
IP Address                     : 1.2.3.4
IPv6 Address                   :
IPv6 Default Gateway           :
IPv6 MTU                       :
IPv6 Secondaries               : []
IPv6 Static Routes             : []
MAC Address                    :
Management Interface           : False
MTU                            :
Subnet Mask                    : 255.255.255.0
Static                         : True
Static Routes                  : []
Virt Bridge                    :
Interface =====                : eth1
Bonding Opts                   :
Bridge Opts                    :
CNAMES                         : []
DHCP Tag                       :
DNS Name                       :
Per-Interface Gateway          :
Master Interface               : bond0
Interface Type                 : bond_slave
IP Address                     : 1.2.3.4
IPv6 Address                   :
IPv6 Default Gateway           :
IPv6 MTU                       :
IPv6 Secondaries               : []
IPv6 Static Routes             : []
MAC Address                    :
Management Interface           : False
MTU                            :
Subnet Mask                    :
Static                         : True
Static Routes                  : []
Virt Bridge                    :
Interface =====                : eth0
Bonding Opts                   :
Bridge Opts                    :
CNAMES                         : []
DHCP Tag                       :
DNS Name                       :
Per-Interface Gateway          :
Master Interface               : bond0
Interface Type                 : bond_slave
IP Address                     : 1.2.3.4
IPv6 Address                   :
IPv6 Default Gateway           :
IPv6 MTU                       :
IPv6 Secondaries               : []
IPv6 Static Routes             : []
MAC Address                    : aa:bb:cc:dd:ee:ff
Management Interface           : False
MTU                            :
Subnet Mask                    :
Static                         : True
Static Routes                  : []
Virt Bridge                    :

 ## unpatched
 # cobbler system getks --name ztest | sed '/Start bond0/,/^%end/ !d'
 #  Start bond0
 #  Found a slave for this interface: eth1 ()
 # Configuring bond0 ()
if mac_exists
then
  get_ifname
  echo "network --device=$IFNAME --bootproto=static --ip=1.2.3.4 --netmask=255.255.255.0 --gateway=1.2.3.1 --hostname=ztest.example.com" >> /tmp/pre_install_network_config
fi
 #  Start eth1
 #  Skipping (slave-interface)
 #  Start eth0
 #  Skipping (slave-interface)
 # End pre_install_network_config generated code

%end

 ## patched
 # cobbler system getks --name ztest | sed '/Start bond0/,/^%end/ !d'
 #  Start bond0
 #  Found a slave for this interface: eth0 (aa:bb:cc:dd:ee:ff)
 # Configuring bond0 (aa:bb:cc:dd:ee:ff)
if mac_exists aa:bb:cc:dd:ee:ff
then
  get_ifname aa:bb:cc:dd:ee:ff
  echo "network --device=$IFNAME --bootproto=static --ip=1.2.3.4 --netmask=255.255.255.0 --gateway=1.2.3.1 --hostname=ztest.example.com" >> /tmp/pre_install_network_config
fi
 #  Start eth1
 #  Skipping (slave-interface)
 #  Start eth0
 #  Skipping (slave-interface)
 # End pre_install_network_config generated code

%end
Some versions of virt-install respond to --version on stderr. Adapt.
Merge pull request #992 from aronparsons/revert-vlan-pattern

remove colon from VLAN regex pattern
Merge pull request #993 from aronparsons/only-find-interface-with-mac

pre_install_network_config: only use slaves with a valid MAC address
Merge pull request #995 from sdherr/master

Some versions of virt-install respond to --version on stderr. Adapt.
Add CloudLinux6 support to distro_signatures.json
Merge pull request #998 from jmaas/master

Add CloudLinux6 support to distro_signatures.json
If --dns-name is specified, set it as DHCP host-name
in preference to the --hostname field.
Minor improvement to LDAP configuration, fixes #217
Merge pull request #1002 from jmaas/master

Minor improvement to LDAP configuration, fixes #217
Merge pull request #980 from berendt/print_method

Use the print function instead of the print statement
Fix QA for pull #980
Merge pull request #1004 from jmaas/master

Fix QA for pull #980
Bump required python version for Koan to 2.6
This is basically already needed for some of Koan's functionality.
Merge pull request #1005 from jmaas/master

Bump required python version for Koan to 2.6
Fixed type-O in regex for cloudlinux6
Merge pull request #1011 from bentlema/master

Fixed type-O in regex for cloudlinux6
Get rid of the since 2.4 deprecated field 'subnet'.