On Wed, Aug 5, 2009 at 9:40 AM, Michael DeHaan<mdehaan(a)redhat.com> wrote:
On 08/04/2009 06:41 PM, Paras pradhan wrote:
> 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?
>
>
If that's your kickstart wrapping the network line and not the mail
reader, that would be it. Syntax errors in a kickstart file can make a
kickstart go interactive.
Thats just a wrapping. in this email. it is fine inside the file....
Try "cobbler validateks" and see if it gets anything.
I got this:
*** all kickstarts seem to be ok ***
I also see that your password info is not escaped. Remember Cobbler uses
kickstart templates, not kickstarts, so you can't just pass things in
verbatim. I'm not sure if you were sharing the contents or the template
or the results of "cobbler profile getks --name=foo" but that's
something to start with.
That was the o/p of:
cobbler profile getks --name=myxenprofile
> What's wrong this ?
>
>
> Thanks
> Paras.
> _______________________________________________
> cobbler mailing list
> cobbler(a)lists.fedorahosted.org
>
https://fedorahosted.org/mailman/listinfo/cobbler
>
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
Thanks
Paras.