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-devel

Re: [Xen-devel] Simple script help

To: "Tvrtko A. Uršulin" <tvrtko@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Simple script help
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 12 Nov 2003 10:16:02 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 12 Nov 2003 10:17:39 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Wed, 12 Nov 2003 11:12:34 +0100." <200311121112.34814.tvrtko@xxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
./xi_build will not accept gzipp'ed images. Either copy the
non-gzipped image, or gunzip the image after copying.

A couple of the other xi_* tools now use zlib. I'll add that
functionality to xi_build in the unstable tree.

 -- Keir

> 
> Hello,
> 
> I am trying to make a simple script which would be used to create new domain. 
> xenctl uses data from /etc/xenctl.xml which is bad for me because
> 
> The problem is with the image given to xi_build, it says:
> ERROR: Kernel image does not contain required signature.
> 
> What is the correct procedure?
> 
> Also, xi_phys_grant needs some additional params, what should I use for them?
> 
> This is the script:
> 
> #!/bin/sh
> 
> name=XenoLinux
> size=65536
> id=$1
> ip=$2
> gw=192.168.200.1
> mask=255.255.255.0
> root=$3
> swap=$4
> 
> xi_create $size "$name"
> cp /boot/xenolinux-1.1rc1.gz /tmp/xen-image.tmp
> xi_build $id /tmp/xen-image.tmp $id ip=$ip::$gw:$mask::eth0:off DOMID=$id 
> root=/dev/$root ro
> xi_vifinit $id 0 $ip
> xi_phys_grant rw $id $root
> xi_phys_grant rw $id $swap
> 
> -- 
> Croadria Internet usluge <http://www.croadria.com>
> - Web hosting (Linux & Windows), E-commerce
> Podrska: <http://podrska.croadria.com>
> Tel: 01/4657 818, 01/4655 601     Fax: 01/4657 819
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: ApacheCon 2003,
> 16-19 November in Las Vegas. Learn firsthand the latest
> developments in Apache, PHP, Perl, XML, Java, MySQL,
> WebDAV, and more! http://www.apachecon.com/
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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