Hi,
I have created a profile using
cobbler profile add --name=myxenprofile --distro=centos-xen-x86_64
--kickstart=/opt/guest2-vm--ks.cfg
ks file looks like:
-----
install
nfs --server=nfsserver --dir=/centos64
lang en_US.UTF-8
network --device eth0 --bootproto static --ip X.X.X.40 --netmask
255.255.255.0 --gateway X.X.X.5 --nameserver X.X.X.93 --hostname
vmguest --onboot=on
rootpw --iscrypted $1$k5/VMCHk$Ykdy/1qdt3GL2s490jvGP/
firewall --enabled --port=22:tcp
authconfig --enableshadow --enablemd5
selinux --enforcing
timezone --utc America/Chicago
bootloader --location=mbr --driveorder=xvda --append="console=xvc0"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
#clearpart --linux --drives=xvda
#part /boot --fstype ext3 --size=100 --ondisk=xvda
#part pv.2 --size=0 --grow --ondisk=xvda
#volgroup VolGroup00 --pesize=32768 pv.2
#logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
#logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00
--size=528 --grow --maxsize=1056
%packages
@editors
@text-internet
@dialup
@core
@base
device-mapper-multipath
-----
At the client side (where I want my VM to be created), I did
koan --virt --server=cobblerserver --profile=myxenprofile --nogfx
..
But why the installation procedure is not taking X.X.X.40 and asking
me to enter ip, mask, gw and dns?
What's wrong this ?
Thanks
Paras.