Modification : vm_{host,hosted,remote} -> {host,local,remote}/ .
[lhc/ateliers.git] / remote / duplicity-configure
1 #!/bin/sh -eu
2 tool=$(readlink -e "${0%/*}/..")
3 . "$tool"/remote/lib.sh
4
5 subkey_caps="e s" \
6 "$tool"/remote/gpg-gen-key "backup+$vm_hostname@$vm_domainname" <<-EOF
7 Name-Real: $vm_fqdn
8 Name-Email: backup+$vm_hostname@$vm_domainname
9 Name-Comment: (duplicity)
10 Expire-Date: 0
11 EOF