vmware/pyvmomi-community-samples

deploy ova/ovf with vAppConfig propoerties

Open

#506 opened on 2018年8月7日

GitHub で見る
 (2 comments) (0 reactions) (0 assignees)Python (914 forks)batch import
help wanted

Repository metrics

Stars
 (972 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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)

コントリビューターガイド