[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Simple script help
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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |