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] cds.conf parameters

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] cds.conf parameters
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Thu, 2 Jun 2005 22:38:43 +0100
Cc: Paul Edgar <javaoops@xxxxxxxxxx>
Delivery-date: Thu, 02 Jun 2005 21:34:38 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <429F735A.5020102@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <429F735A.5020102@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8
> The line right now is: name = "xen%d" % vmid and what I want to do is to
> add a value to that line only.
> Something like: name = "xen%d" % vmid+20.

You might need to put the vmid+20 in brackets but yes,that will work.

Config files are basically Python scripts, so you can just use Python syntax 
and Python functions and things should Just Work.

Cheers,
Mark

> Possible?
>
> Trying to keep this simple from a admin viewpoint.

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

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