maybe instead of hardcoding "vmnet" as network name you could use:
```networks.first.addresses.first```
(and delegate ```:networks```)