<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 2/5/2010 10:43 AM, Michael Fairchild wrote:
<blockquote cite="mid:96977F07-83D1-4564-9178-2840DB7331A9@att.com"
 type="cite">It does not appear to be working that way
  <div>I tried using $VM_ID in my vnc port definition and ended up with </div>
  <div>                <graphics type='vnc' listen='0.0.0.0'
port='590$VM_ID' keymap='en-us'/></div>
  <div>in my libvirt xml</div>
  <div><br>
  </div>
  <div>I tried using $NAME and had similar results.  </div>
  <div><br>
  </div>
  <div>Perhaps the context creation is handled differently than the
template parsing?</div>
</blockquote>
<br>
What I have found out is that the contextualization docs are in slight
error, at least as far as VM ID goes. It is not VM_ID, but VMID. So:<br>
<br>
GRAPHICS = [<br>
    type = "vnc",<br>
    listen = "0.0.0.0",<br>
    port = "590$VMID"<br>
]<br>
<br>
And note that this is not XML format. It may not work in XML at all.
The "normal" template is in the Python syntax.<br>
<br>
Nix.<br>
<div class="moz-signature">-- <br>
<title>Levi9 Signature</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
                .signs1{ font-size: 11pt; font-family: Wingdings }
                .signs2{ font-size: 11pt; font-family: Webdings }
        </style>
<div
 style="font-family: Tahoma,sans-serif; font-size: 8pt; color: black;">
<span style="font-size: 10pt;"> Met vriendelijke groet / Kind regards,<br>
Nikola Milutinovic<br>
Sr Java Developer<br>
Levi9 Global Sourcing<br>
</span>
<hr> <font size="3" face="Wingdings">.</font> <span> Jan van
Goyenkade 8, 1075 HP Amsterdam, The Netherlands</span> <br>
<font size="3" face="Wingdings">(</font> <span>   +31 (0) 20 7547900
ext 2056</span> <br>
<font size="3" face="Wingdings">(</font> <span>   +381 (0) 21 4895800
ext 2056</span> <br>
<font size="3" face="Webdings">È</font> <span>   +381 (0) 64 2202824</span>
<br>
<font size="3" face="Wingdings">*</font> <span>   <a
 href="mailto:n.milutinovic@Levi9.com">n.milutinovic@Levi9.com</a></span>
<br>
<font size="3" face="Webdings">^</font> <span>   Skype:
nikola.milutinovic</span> <br>
<font size="3" face="Webdings">ü</font> <span>   <a target="_blank"
 title="http://www.levi9.com/" href="http://www.levi9.com/">www.levi9.com</a></span>
<br>
<span> <br>
Chamber of commerce Levi9 Global Sourcing BV: 34221951<br>
Chamber of commerce Levi9 Global Sourcing Benelux BV: 34224746<br>
</span>
<hr> <span> This e-mail may contain confidential or privileged
information. If you are not (one of) the intended recipient(s), please
notify the sender immediately by reply e-mail and delete this message
and any attachments permanently without retaining a copy. Any review,
disclosure, copying, distribution or taking any action in reliance on
the contents of this e-mail by persons or entities other than the
intended recipient(s) is strictly prohibited and may be unlawful. <br>
<br>
The services of Levi9 are exclusively subject to its general terms and
conditions. These general terms and conditions can be found on <a
 target="_blank" title="http://www.levi9.com/"
 href="http://www.levi9.com/">www.levi9.com</a> and a copy will be
promptly submitted to you on your request and free of charge.<br>
</span> </div>
</div>
</body>
</html>