Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Commit

Permalink
Remove existing known_host before provision
Browse files Browse the repository at this point in the history
  • Loading branch information
Shay Bergmann committed Jan 12, 2021
1 parent 385fd6d commit aa7219f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bitte/cli/provision.cr
Expand Up @@ -29,6 +29,7 @@ module Bitte

logger.warn { "Ready to deploy." }

sh! "ssh-keygen", "-R", ip
sh! "nix", "copy",
"--to", cache,
"#{flake}#nixosConfigurations.#{flake_attr}.config.system.build.toplevel",
Expand Down

0 comments on commit aa7219f

Please sign in to comment.