vmware/pyvmomi-community-samples

deploy ova/ovf with vAppConfig propoerties

Open

#506 aperta il 7 ago 2018

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Python (914 fork)batch import
help wanted

Metriche repository

Star
 (972 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

I was trying to deploy an ova/ovf image with vAppConfig properties and was using the "propertyMapping" option to feed the properties before image deploy. I dont see any errors but properties are also not getting set. Pls. let me know if im missing something .. Using vCenter 6.7

    mapping = []
    for k,v in property_mapping.items():
       mapping.append(vim.KeyValue(key=k, value=v))

vim.OvfManager.CreateImportSpecParams(entityName=name, propertyMapping=mapping)

Guida contributor