mirror of
https://github.com/RGBCube/agenix
synced 2025-07-29 01:37:44 +00:00
feature: pipe cleartext into agenix -e
If STDIN is not interactive, change EDITOR to `cp /dev/stdin`. fixes #33
This commit is contained in:
parent
2c56a93426
commit
344c8e41d2
3 changed files with 17 additions and 8 deletions
|
@ -21,5 +21,8 @@
|
|||
chown $USER1_UID:$USERS_GID /home/user1/.ssh/id_ed25519
|
||||
touch /etc/ssh/ssh_host_rsa_key
|
||||
)
|
||||
cp -r "${../example}" /tmp/secrets
|
||||
chmod -R u+rw /tmp/secrets
|
||||
chown -R $USER1_UID:$USERS_GID /tmp/secrets
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue