Skip to content

Write a state file with the machine provisioned, its ID and auth token #28

Open
@alexellis

Description

This feature will write a state file with the machine provisioned, its ID and auth token

Expected Behaviour

A file (probably YAML file) should be written to disk after provisioning a host, it will be used by the user to be able to delete or reconnect to the host at a later date, it's especially useful if the auth token, ID or IP was lost.

Current Behaviour

In this scenario, I have to delete / re-create, or ssh into the exit server after doing a password reset.

Possible Solution

Write a file such as host-name-inletsctl.yaml with:

host:
  metadata:
    created_at: A
    provider: B
    region: C
  ip: Y
  id : Z
  auth_token: A
  pro: true/false

Initially, this will not be consumable by the CLI itself, but will act like a state file or reminder for the user.

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions