kvm-host: fix shared-secret generation

This commit is contained in:
Victor LABORIE 2017-10-26 15:57:12 +02:00
parent 6a110768b4
commit 7cf08cec1a
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ cat << EOT > $tmpResFile
resource "${vmName}" {
net {
cram-hmac-alg "sha1";
shared-secret "$(apg -m21 -n1)";
shared-secret "$(apg -n 1 -m 16 -M lcN)";
# Si pas de lien dedié 10G, passer en protocol A
# Et desactiver allow-two-primaries;
protocol C;