You want
on_crash="destroy"
on_reboot="destroy"
instead of restart. Then, upon reboot, it will destroy the current VM.
You'd then used a running config that uses pygrub as your bootloaded
instead. This config would have
on_reboot="restart"
on_crash="restart"
Mel
On Mon, Jan 31, 2011 at 1:35 PM, Pinto, Melzer <Melzer.Pinto@xxxxxxx> wrote:
> Hi,
>
> I am trying to build a Xen VM(THEL 5.3 and OEL 5.5) via pxe boot. I’m able
> to get the dhcp and tftp servers to respond to the pxe request and the VM
> starts building. However when it reboots it goes back to building again
> instead of booting up. Has anyone seen this kind of behavior before? I tried
> both RHEL and OEL. I think the problem might be bootloader pypxeboot line
> but I’m not sure. Here is the vm.cfg
>
>
>
> bootargs = 'bridge=xenbr0,mac=00:16:3E:35:C7:95,type=netfront'
>
> bootloader = '/usr/bin/pypxeboot'
>
> disk =
> ['file:/var/ovs/mount/ADB5300DA0664B9C8CBDBAC34BFFC5A1/running_pool/52_vm4/System.img,xvda,w']
>
> memory = 2048
>
> name = '52_vm4'
>
> on_crash = 'restart'
>
> on_reboot = 'restart'
>
> uuid = '25fd9fa0-e383-4e11-98d8-1921d787547a'
>
> vcpus = 2
>
> vfb = ['type=vnc,vncunused=1,vnclisten=0.0.0.0,vncpasswd=xxxxxx']
>
> vif = ['bridge=xenbr0,mac=00:16:3E:35:C7:95,type=netfront']
>
> vif_other_config = []
>
>
>
> Thanks
>
> Melzer Pinto
>
>
>
> ________________________________
> IMPORTANT: The information contained in this email and/or its attachments is
> confidential. If you are not the intended recipient, please notify the
> sender immediately by reply and immediately delete this message and all its
> attachments. Any review, use, reproduction, disclosure or dissemination of
> this message or any attachment by an unintended recipient is strictly
> prohibited. Neither this message nor any attachment is intended as or should
> be construed as an offer, solicitation or recommendation to buy or sell any
> security or other financial instrument. Neither the sender, his or her
> employer nor any of their respective affiliates makes any warranties as to
> the completeness or accuracy of any of the information contained herein or
> that this message or any of its attachments is free of viruses.
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>
--
Melody Bliss
Usenix, SAGE and LOPSA Charter Member
Patron Member of the NRA
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|