api: adding created VM instance into known_hosts.

Fixes #6.