don't copy secret files to store during nixops deployment

This commit is contained in:
Erik Arvstedt
2020-01-12 20:02:00 +01:00
parent f0a36fe0c7
commit cd0fd6926b
2 changed files with 15 additions and 4 deletions
+11
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'),