FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora/Linux Management Tools

 
 
LinkBack Thread Tools
 
Old 11-22-2007, 02:22 PM
Tom Brown
 
Default [et-mgmt-tools] template error on system add

Hi

I am slowly getting further i hope but when i add a system i encounter
the following


# cobbler system add --name=00:0C:29:717:4D --profile=centos4.4
There appears to be an formatting error in the template file.
For completeness, the traceback from Cheetah has been included below.
Error templating file /var/www/cobbler/kickstarts/CentOS-4.4-i386/ks.cfg
to /var/www/cobbler/kickstarts_sys/00:0C:29:717:4D/ks.cfg


Is there any way to get verbose output on what error is being encountered?

For completeness the ks.cfg causing the issue is below

thanks

#platform=x86, AMD64, or Intel EM64T
# System authorization information
auth --useshadow --enablemd5
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
clearpart --all --initlabel
# Use text mode install
text
# Firewall configuration
firewall --enabled
# Run the Setup Agent on first boot
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# Use network installation
url --url=http://192.168.10.4/cblr/links/CentOS-4.4-i386
# Network information
network --bootproto=dhcp --device=eth0 --onboot=on
# Reboot after installation
reboot

#Root password
rootpw --iscrypted $1$mF86/UHC$WvcIcX2t6crBz2onWxyac.
# SELinux configuration
selinux --disabled
# Do not configure the X Window System
skipx
# System timezone
timezone America/New_York
# Install OS instead of upgrade
install
# Clear the Master Boot Record
zerombr

# Magically figure out how to partition this thing
%include /tmp/partinfo

%pre
# Determine how many drives we have
set $(list-harddrives)
let numd=$#/2
d1=$1
d2=$3

cat << EOF > /tmp/partinfo
part / --fstype ext3 --size=1024 --grow --ondisk=$d1 --asprimary
part swap --size=1024 --ondisk=$d1 --asprimary
EOF



%packages

%post
wget
http://192.168.10.4/cblr/repos_profile/CentOS-4.4-i386/CentOS-4.4-i386-0.repo
--output-document=/etc/yum.repos.d/CentOS-4.4-i386-0.repo


wget http://192.168.10.4/cblr/watcher.py?profile_done=CentOS-4.4-i386 -b
wget http://192.168.10.4/cobbler/kickstarts/CentOS-4.4-i386/ks.cfg -O
/root/cobbler.ks


_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools
 

Thread Tools




All times are GMT. The time now is 11:19 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org