I hoping that Real Soon Now it will create a VM to order with lots of<br>custom vmware settings  via ks_meta variables.
<br><br>At the moment I'm hung up on VMware API problems, so it doesn't do<br>anything useful yet.  The APIs either won't install or puke<br>after they are installed.  I can generate .vmx files to order, but<br>
scp and ssh commands to install them on the VMware server, <br>either require permanently granting too much access to the server or <br>you have to authenticate yourself several times.<br><br>Pretty sure I understand most of the values you python script
<br>prints out.<br><br>But what are:  parent, depth, virt_type, and virt_path?<br><br><br><br><div><span class="gmail_quote">On 8/6/07, <b class="gmail_sendername">Michael DeHaan</b> <<a href="mailto:mdehaan@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
mdehaan@redhat.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
drew einhorn wrote:<br>><br>><br>> On 7/30/07, *Michael DeHaan* <<a href="mailto:mdehaan@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mdehaan@redhat.com</a><br>> <mailto:
<a href="mailto:mdehaan@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">mdehaan@redhat.com</a>>> wrote:
<br>><br>>     drew einhorn wrote:<br>><br>>     > I think it won't be too difficult to use VMperl to create<br>>     scripts to<br>>     > make an appropriate dhcp reservations, or create a VM to order.
<br>>     > Will let you know when I have something more concrete than plans.<br>>     Excellent.<br>><br>><br>> Been making progress.<br>><br>> What I need now is a python incantation to retrieve ks metadata,
<br>> and virt info from a cobbler profile, so I can fill in line arguments<br>> on shell commands my script is issuing.<br>><br>><br><br>This might help get you started...  what does the script do?<br><br><br>

import cobbler.api as cobbler_api<br><br>api = cobbler_api.BootAPI()<br><br>for x in api.profiles():<br>    print x.to_datastruct()<br><br><br><br><br><br><br>><br>> --<br>> Drew Einhorn<br>> ------------------------------------------------------------------------
<br>><br>> _______________________________________________<br>> et-mgmt-tools mailing list<br>> <a href="mailto:et-mgmt-tools@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
et-mgmt-tools@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/et-mgmt-tools" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://www.redhat.com/mailman/listinfo/et-mgmt-tools</a><br><br>_______________________________________________<br>et-mgmt-tools mailing list<br><a href="mailto:et-mgmt-tools@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
et-mgmt-tools@redhat.com</a><br><a href="https://www.redhat.com/mailman/listinfo/et-mgmt-tools" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://www.redhat.com/mailman/listinfo/et-mgmt-tools</a><br></blockquote></div><br><br clear="all"><br>-- <br>Drew Einhorn