don't copy secret files to store during nixops deployment

This commit is contained in:
Erik Arvstedt 2019-11-27 14:04:24 +01:00
parent f0a36fe0c7
commit cd0fd6926b
No known key found for this signature in database
GPG key ID: 33312B944DD97846
2 changed files with 15 additions and 4 deletions

View file

@ -32,3 +32,14 @@
# For "nix-build --run-env".
--- a/nixops/backends/__init__.py
+++ b/nixops/backends/__init__.py
@@ -24,6 +24,7 @@ class MachineDefinition(nixops.resources.ResourceDefinition):
opts = {}
for (key, xmlType) in (('text', 'string'),
('keyFile', 'path'),
+ ('keyFile', 'string'),
('destDir', 'string'),
('user', 'string'),
('group', 'string'),