Provision VM using virtual network.
Merge pull request #8049 from ranjan/dev

Provision VM using virtual network.
ini_file: replace lambda with named function

Fixes #6876