X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=remote%2Fduplicity-configure;fp=remote%2Fduplicity-configure;h=6a1850b98856e1397970fd2fa63a872dd620e58b;hp=0000000000000000000000000000000000000000;hb=3ad6118386977e346d81042e924e5db9c5f15b7d;hpb=22f04b9fac14adc3d3fc98273ba126c3a51792c3 diff --git a/remote/duplicity-configure b/remote/duplicity-configure new file mode 100755 index 0000000..6a1850b --- /dev/null +++ b/remote/duplicity-configure @@ -0,0 +1,11 @@ +#!/bin/sh -eu +tool=$(readlink -e "${0%/*}/..") +. "$tool"/remote/lib.sh + +subkey_caps="e s" \ +"$tool"/remote/gpg-gen-key "backup+$vm_hostname@$vm_domainname" <<-EOF + Name-Real: $vm_fqdn + Name-Email: backup+$vm_hostname@$vm_domainname + Name-Comment: (duplicity) + Expire-Date: 0 + EOF