intel / ccloudvm

Configurable Cloud VM is a small command line tool for automatically creating development and demo environments for complex projects. The tool sets up these development environments inside a virtual machine which it automatically creates on the user’s host computer. This avoids polluting the user’s host machine with components from the chosen development environment and provides a clean, predictable and repeatable environment in which this development environment can run.
Apache License 2.0
32 stars 19 forks source link

ccvm: Implement workload spec inheritance #45

Closed rbradford closed 6 years ago

rbradford commented 6 years ago

Implement and test workload inheritance allowing a workload specification to inherit the previous workload specification. Inheritance of cloud-config data will follow in a later patch.

The most significant part of this change is that workload defaults are now not injected as part of unmarshal but insteat in a default specification that is always merged in.

The SSH port mapping however is special cased (as before) to ensure that it is always mapped to allow ccloudvm connectivity.

Signed-off-by: Rob Bradford robert.bradford@intel.com

rbradford commented 6 years ago

@markdryan, tell me what you think of this.