On 07/16/2012 08:16 AM, Jörgen Maas wrote:
> On Sun, Jul 15, 2012 at 1:41 PM, Jakov Sosic <[email protected]
> <mailto:[email protected]>> wrote:
> 
> 
>     I'm not doing PXE any more, I'm using live cd now from 'cobbler
>     buildiso'. I've succeeded to change http_server by doing:
> 
>     # cobbler profile edit --name=CentOS-5-x86_64
>     --server=<cobbler_server_ip>
> 
> 
> the proper way to do it is to edit the /etc/cobbler/settings file
> (search for server)
>  
> 
> 
>     But, live CD now segfaults after trying to download kickstart file with:
> 
>     loader received SIGSEGV! Backtrace:
>     [0x400913]
>     [0x50d650]
>     ...
>     ...
> 
> 
>     and that's it, installation breaks. Am I missing something?
> 
> 
> does your kickstart file render properly?
> 
> cobbler profile getks --name=CentOS-5-x86_64



# cobbler profile getks --name=CentOS-5-x86_64

# Firewall configuration
firewall --disabled
# Install OS instead of upgrade
install
# Use network installation
url --url="http://<cobbler_server_ip>/distros/CentOS-5-x86_64"
# Root password
rootpw --iscrypted <cryptpass>
# System authorization information
auth  --useshadow  --passalgo=sha512 --enablefingerprint
# Use text mode install
text
# System keyboard
keyboard us
# System language
lang en_US
# SELinux configuration
selinux --disabled
# Do not configure the X Window System
skipx
# Installation logging level
logging --level=info
# Reboot after installation
#reboot
# System timezone
timezone  Europe/Zagreb
# Network information
network  --bootproto=dhcp --device=eth0 --onboot=on
# System bootloader configuration
bootloader --location=mbr
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all
# Disk partitioning information
part /boot --fstype="ext2" --size=100
part swap --fstype="swap" --size=4096
part / --fstype="ext3" --grow --maxsize=20480

%packages
@base
%end

%post
# Start final steps






wget "http://<cobbler_server_ip>/cblr/svc/op/ks/profile/CentOS-5-x86_64"
-O /root/cobbler.ks
wget
"http://<cobbler_server_ip>/cblr/svc/op/trig/mode/post/profile/CentOS-5-x86_64"
-O /dev/null
# End final steps
%end


# echo $?
0



I guess it does...
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to