Description: Default Ubuntu Config Settings
 This patch sets default config settings for cobbler in Ubuntu.
   * config/settings:
     - default kernel options on install to en_US and priority=critical,
       to prevent interactive remote installs
     - default virt settings to kvm-friendly virbr0 and qemu
     - default power management to ether_wake
     - default preseed to an Ubuntu preseed
     - default to pxe boot just once to prevent boot loops
Author: Dustin Kirkland <kirkland@ubuntu.com>
Forwarded: not-needed
Last-Update: 2011-07-05

--- a/config/settings
+++ b/config/settings
@@ -72,7 +72,7 @@ cheetah_import_whitelist:
 createrepo_flags: "-c cache -s sha"
 
 # if no kickstart is specified to profile add, use this template
-default_kickstart: /var/lib/cobbler/kickstarts/default.ks
+default_kickstart: /var/lib/cobbler/kickstarts/ubuntu-server.preseed
 
 # configure all installed systems to use these nameservers by default
 # unless defined differently in the profile.  For DHCP configurations
@@ -111,7 +111,7 @@ default_template_type: "cheetah"
 # "virbr0".  This can be overriden on a per-profile
 # basis or at the koan command line though this saves
 # typing to just set it here to the most common option.
-default_virt_bridge: xenbr0
+default_virt_bridge: virbr0
 
 # use this as the default disk size for virt guests (GB)
 default_virt_file_size: 5
@@ -123,7 +123,7 @@ default_virt_ram: 512
 # is set on the profile/system, what virtualization type
 # should be assumed?  Values: xenpv, xenfv, qemu, vmware
 # (NOTE: this does not change what virt_type is chosen by import)
-default_virt_type: xenpv
+default_virt_type: qemu
 
 # enable gPXE booting? Enabling this option will cause cobbler
 # to copy the undionly.kpxe file to the tftp root directory, 
@@ -163,6 +163,8 @@ kernel_options:
  ksdevice: bootif
  lang: ' '
  text: ~
+ locale: en_US
+ priority: critical
 
 # s390 systems require additional kernel options in addition to the
 # above defaults
@@ -261,7 +263,7 @@ next_server: 127.0.0.1
 # choices (refer to codes.py):
 #    apc_snmp bladecenter bullpap drac ether_wake ilo integrity
 #    ipmilan ipmitool lpar rsa virsh wti
-power_management_default_type: 'ipmitool'
+power_management_default_type: 'ether_wake'
 
 # the commands used by the power management module are sourced
 # from what directory?
@@ -274,7 +276,7 @@ power_template_dir: "/etc/cobbler/power"
 # first in it's BIOS order.  Enable this if PXE is first in your BIOS
 # boot order, otherwise leave this disabled.   See the manpage
 # for --netboot-enabled.
-pxe_just_once: 0
+pxe_just_once: 1
 
 # the templates used for PXE config generation are sourced
 # from what directory?
