nanovms / ops

ops - build and run nanos unikernels

Home Page:https://ops.city

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ops deploy does not use InstanceName on DO

hnord-vdx opened this issue · comments

When configuring the instance name in config.json and deploying both the image and instance via ops deploy, the instance name defaults to the concatenation of the image name and the Unix timestamp.

Sample config file

{
    "CloudConfig": {
      "ImageName": "$IMAGE_NAME",
    },
    "RunConfig": {
      "Imagename": "$IMAGE_NAME",
      "InstanceName": "$INSTANCE_NAME",
}

Note: I am setting the ops_render_config: true env var

Is this the expected behaviour when using deploy?

the instance name default is the image name && timestamp but this was a bug where it was only setting it via cli flag not config, fixed via #1581