vmware-archive / dispatch

Dispatch is a framework for deploying and managing serverless style applications.
http://dispatchframework.io
Apache License 2.0
532 stars 58 forks source link

Disable nounset bash option when calculating cidr #782

Closed kars7e closed 5 years ago

kars7e commented 5 years ago

The mask2cdr function's implementation is based on the default behavior of unset variables. by importing ovfenv_wrapper we enabled the nounset flag, which causes mask2cdr function to fail with unbound variable error.

kars7e commented 5 years ago

Tested on VMC, VM with a static IP is configured correctly