-
-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Always provide our known_hosts in addition to user known_hosts
This way, we don't have to rely on user configuration to include known_hosts entries for the deployments. It makes `nixops import --include-keys` unnecessary, unless you use those entries outside of nixops. Since recently we can get our deployment state from remote storage backends, but we didn't have a way to get configure the known_hosts yet. This is now largely unnecessary. This functionality requires some cooperation from the plugins. For instance, here's what ec2 needs to do: (pun intended) + def get_ssh_host_keys(self): + return self.private_ipv4 + " " + self.public_host_key + "\n" + self.public_ipv4 + " " + self.public_host_key + "\n"
- Loading branch information
Showing
1 changed file
with
73 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters