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 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@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
thank you its work with extra as you say extra = "text ip=192.168.64.187 netmask=255.255.255.0 gateway=192.168.64.254 dns=192.168.64.1 kssendmac ksdevice=bootif noipv6" On Sat, Jun 5, 2010 at 1:07 PM, Alaa eldin <sirash23@gmail.com> 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 > 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@lists.xensource.com http://lists.xensource.com/xen-users