WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] kickstart with centos5

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] kickstart with centos5
From: Ben Rockwood <benr@xxxxxxxxxxxxxx>
Date: Sat, 05 Jun 2010 10:49:46 -0700
Delivery-date: Sat, 05 Jun 2010 10:51:10 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTilUnPLK7xHU9cFSwGabXKxuIWnRFaTg7FZgl_LT@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTilUnPLK7xHU9cFSwGabXKxuIWnRFaTg7FZgl_LT@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
I believe the problem is that the network line is missing the gateway
and dns arguments.  Example: " --gateway=10.0.2.254 --nameserver=10.0.2.1"

If that doesn't fix it, you might try passing the network config to the
bootloader in "extra=". 

Let me know which fixes it, I'm new to Kickstart myself.

benr.


On 6/5/10 10:07 AM, Alaa eldin wrote:
> hi all
> i'm using xen 3 and trying to install paravirtual domU with kickstart
>
> domU config
>
> kernel = "/home/vmlinuz"
> ramdisk = "/home/initrd.img"
> extra = "text ks=http://localhost/ks";
> name = "mailserver"
> memory = "256"
> disk       = ['phy:/dev/hdd1/kicks,sda1,w', ]
> vif = [ 'bridge=xenbr1', ]
> vcpus=1
> on_reboot = 'destroy'
> on_crash = 'destroy'
>
> kickstart config
>
> install
> url --url http://mirrors.service.softlayer.com/centos/5.5/os/x86_64
>
> lang en_US.UTF-8
> keyboard us
>
> network --device eth0 --bootproto static --ip 72.52.206.75 --netmask
> 255.255.254.0 --hostname cluster11.korsaweb.com
> <http://cluster11.korsaweb.com>
> noipv6
> firewall --enabled --port=22:tcp
>
> authconfig --enableshadow --enablemd5
> selinux --disabled
>
> timezone --utc America/New_York
>
> bootloader --location=mbr --driveorder=xvda --append="console=xvc0"
>
> # Bogus password, change to something sensible!
> rootpw cluster011
>
> timezone --utc Europe/Amsterdam
>
> bootloader --location=mbr --driveorder=sda --append="console=xvc0"
> clearpart --all --drives=sda --initlabel
> part / --fstype ext3 --size=4096 --asprimary
> part /usr --fstype ext3 --size=12000 --asprimary
> part swap --size=4096 --asprimary
> part pv.5 --size=100 --grow --asprimary
>
> # Set up default volume group and logical volumes
> volgroup my_volume_group pv.5
> logvol /xen/swap --vgname=my_volume_group --size=4096 --name=swap
>
> %packages
> @core
>
>  when i console the domU i found installation text mode and it stopped
> in network step and it always try to use DHCP and i have disabled it
> from kickstart
> " Sending request for IP information for eth0... "
>
> any help
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>