VMware Cloud Community
cjstaples-emc
Contributor
Contributor

OVFTOOL - Configuration file syntax for parameters without explicit values

(Easy) Question… Regarding the use of global configuration file (ovftool.cfg) and local configuration file with OVFTOOL.

Syntax is given only for comments and parameters which are name-value pairs, e.g. datastore=DATASTORE-NAME.

For a single parameter without a corresponding value, e.g. –acceptAllEulas, should these parameters be expressly set to TRUE?

Or can they simply be present (no equals sign)? Both styles seem to work properly for --acceptAllEulas option.

Example: which of the following CFG files shows the expected syntax? Or are both acceptable?

acceptAllEulas=true

disableVerification=true

quiet=true

datastore=S123D0001

ipAllocationPolicy=fixed

or

acceptAllEulas

disableVerification

quiet

datastore=S123D0001

ipAllocationPolicy=fixed

(Yeah, I know - this question probably is a gimme. :smileygrin: Just curious if there's anything to trip over here. )

=cjs

Message was edited by: cjstaples-emc -- sorry, original formatting garbage

0 Kudos
1 Reply
walterred
Contributor
Contributor


Hi cjs ,


This seems very similar to what i need help with. Did you ever get an answer to this question ? and how did you pass this file to the ovftool command line ?


This is a long shot considering this post is almost 4 years old .


Thanks in advance 


 

0 Kudos