Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2014 13:58:23 +0700
From:      Olivier Nicole <Olivier.Nicole@cs.ait.ac.th>
To:        questions@freebsd.org
Subject:   vmware-cmd
Message-ID:  <wu738f0kqy8.fsf@banyan.cs.ait.ac.th>

next in thread | raw e-mail | index | archive | help
Hi,

I am trying to figure out how vmware-cmd works.

But first of all, what I want to do is update the user management tool I
have to remove possible VMware virtual machines associated to one student
when that student leaves the university: some student are granted VMware
virtual machines, at the end of their studies, their account get
automatically eleted, but I have to manually proceed to backup and
delete the virtual machines.

I have installed the port net/vmware-vsphere-cli and I am trying to
figure how it works.

1) Can it be used to export an OVF template from a virtual machine?

   If not, the rest is meaning less.

2) When I run "vmware-cmd -H myESXi.host.example.com -l" I receive in
   stderr something like:

SOAP request error - possibly a protocol issue: <?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
 xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">;
<soapenv:Body>
<RetrievePropertiesResponse xmlns="urn:vim25"><returnval><obj
type="VirtualMachine">10</obj><propSet><name>availableField</name><val
xsi:type="ArrayOfCustomFieldDef"></val></propSet><propSet><name>capability</name><val
xsi:type="VirtualMachineCapability">

   and the result is truncated. I cannot manage to have vmware-cmd give
   me a simple list of the virtual machines. Where should I look at?

TIA,

Olivier



-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?wu738f0kqy8.fsf>