04d0878327
- /home/dot_local/bin/executable_install-program - /home/.chezmoiexternal.toml - /home/dot_ssh/symlink_authorized_keys.tmpl - /home/dot_ssh/run_onchanges_after_link-vagrant-authorized-keys.tmpl - /home/.chezmoiscripts/universal/run_before_1-decrypt-age-key.tmpl
10 lines
377 B
Bash
10 lines
377 B
Bash
#!/usr/bin/env bash
|
|
|
|
{{ includeTemplate "universal/profile" }}
|
|
{{ includeTemplate "universal/logg" }}
|
|
|
|
### Link authorized_keys to authorized_keys.vagrant if username is vagrant
|
|
if [ "$USER" == 'vagrant' ]; then
|
|
logg info 'Linking authorized_keys.vagrant to authorized_keys in the .ssh folder'
|
|
ln -s "$HOME/.ssh/authorized_keys.vagrant" "$HOME/.ssh/authorized_keys"
|
|
fi
|