[Et-mgmt-commits-list] [SCM] virt-factory branch, master now at v0.0.3-333-g515b8c4

Adrian Likins alikins at redhat.com
Tue Oct 16 14:40:51 UTC 2007


Hello,

This is an automated email from the git hooks/update script, it was
generated because a ref change was pushed to the repository.

Updating branch, master,
       via  515b8c48dae81a7e3bd73727bee0c474ab32b7e4 (commit)
       via  0c0b307a9590e3aea6865b9ca2441219eedb3fbb (commit)
      from  9c9648fe6f05292525705683fc3f5c3d1b921c0c (commit)

- Log -----------------------------------------------------------------
commit 515b8c48dae81a7e3bd73727bee0c474ab32b7e4
Merge: 0c0b307... 9c9648f...
Author: Adrian Likins <alikins at grimlock.devel.redhat.com>
Date:   Tue Oct 16 10:38:47 2007 -0400

    Merge branch 'master' of git+ssh://g-alikins@et.redhat.com/git/virt-factory

commit 0c0b307a9590e3aea6865b9ca2441219eedb3fbb
Author: Adrian Likins <root at grimlock.devel.redhat.com>
Date:   Tue Oct 16 10:38:17 2007 -0400

    do some cobbler setup stuff
-----------------------------------------------------------------------

Diffstat:
 build/cobbler.settings |   32 ++++++++++++++++++++++++++++++++
 build/test-it-all.sh   |   20 ++++++++++++++++++++
 2 files changed, 52 insertions(+), 0 deletions(-)

diff --git a/build/cobbler.settings b/build/cobbler.settings
new file mode 100644
index 0000000..87458db
--- /dev/null
+++ b/build/cobbler.settings
@@ -0,0 +1,32 @@
+---
+bootloaders:
+    ia64: /var/lib/cobbler/elilo-3.6-ia64.efi
+    standard: /usr/lib/syslinux/pxelinux.0
+default_kickstart: /etc/cobbler/default.ks
+default_virt_bridge: eth0
+default_virt_type: auto
+dhcpd_bin: /usr/sbin/dhcpd
+dhcpd_conf: /etc/dhcpd.conf
+dnsmasq_bin: /usr/sbin/dnsmasq
+dnsmasq_conf: /etc/dnsmasq.conf
+httpd_bin: /usr/sbin/httpd
+kernel_options:
+    ksdevice: eth0
+    lang: ' '
+    text: ~
+manage_dhcp: 0
+manage_dhcp_mode: isc
+next_server: '127.0.0.1'
+pxe_just_once: 0
+server: 'ADDRESS'
+snippetsdir: /var/lib/cobbler/snippets
+syslog_port: 25150
+tftpboot: /tftpboot
+tftpd_bin: /usr/sbin/in.tftpd
+tftpd_conf: /etc/xinetd.d/tftp
+webdir: /var/www/cobbler
+xmlrpc_port: 25151
+xmlrpc_rw_enabled: 0
+xmlrpc_rw_port: 25152
+yum_core_mirror_from_server: 0
+
diff --git a/build/test-it-all.sh b/build/test-it-all.sh
index eb3f8b7..f15cd31 100755
--- a/build/test-it-all.sh
+++ b/build/test-it-all.sh
@@ -262,6 +262,21 @@ setup_vf_server()
     cp -f settings.testing /etc/virt-factory/settings
 }
 
+setup_cobbler()
+{
+    msg "setting up cobbler config"
+
+    HN=`hostname`
+    cp cobbler.settings cobbler.settings.testing
+    export HN
+    perl -p -i -e "s/ADDRESS/\$ENV{'HN'}/g" cobbler.settings.testing
+    cp -f cobbler.settings.testing /var/lib/cobbler/settings
+
+
+}
+
+
+
 setup_puppet()
 {
     # FIXME: can this be removed?
@@ -559,6 +574,11 @@ if [ "$START_SERVICES" == "Y" ] ; then
     start_client_services
 fi
 
+
+setup_cobbler
+
+
+
 # This creates the vf_repo as well, though we probably need to create the sample
 # repo somewhere ($REMOTE_HOST?) and set the settings to sync from there to here,
 # so that we get the fresh packages we just built

hooks/update
---
Git Source Code Management System
hooks/update refs/heads/master \
  9c9648fe6f05292525705683fc3f5c3d1b921c0c \
  515b8c48dae81a7e3bd73727bee0c474ab32b7e4




More information about the Et-mgmt-commits-list mailing list