Virtual Machine
In Nanocl, a Virtual Machine refers to a virtual machine configuration.
Once created the system will ensure your Virtual Machine is always running.
There is the openapi specification for a VmSpecPartial used to create a Virtual Machine:
null or VmHostConfig (object) | |
| Hostname | string or null Hostname of the vm (default: generated from name) |
| Image required | string The image the vm will use, it must be a full path to the image (ex: /var/lib/nanocl/vm/image.qcow2) |
null or Config (object) | |
object or null User-defined key/value metadata. | |
| MacAddress | string or null Mac address of the vm (default: generated) |
object The metadata (user defined) | |
| Name required | string Name of the vm |
| Password | string or null Default password of the vm (default: cloud) |
| SshKey | string or null Default ssh pub key for the user (recommended) |
| User | string or null Default user of the vm (default: cloud) |
Last updated on