template error on system add

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:71:D7: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:71:D7: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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux