ottomatica/slim

Attach command

mprey opened this issue · 3 comments

mprey commented

Hello,

I am a student at UT Austin in a virtualization class and I was looking to contribute to this project. After using this for a bit, having to C+P the ssh every time to connect to the micro-vm seemed redundant. I was wondering if I could create a slim attach command that would automatically try and connect to the most recent micro-vm provisioned. Alternatively, there could be an additional flag in slim build that would auto-attach to the VM after creation.

What do you think?

EDIT: Adding health checking with this ticket too. Details in PR #73

The proposed slim attach command would be reasonable.

Providing an optional vm-name: slim attach [vm-name] would allow you to connect to other instances.

mprey commented

That sounds great.

In the original post, the flag to auto-attach was supposed to be with run not build, what do you think of this?

yes, auto-attach would make more sense on run.