From dac7ac4e7dd63c381c6167f8ab27663ca9629395 Mon Sep 17 00:00:00 2001 From: Julien Moutinho Date: Thu, 14 Mar 2013 22:07:28 +0100 Subject: [PATCH] Correction : vm_hosted : rule_dovecot_configure : sudo . --- vm_hosted | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm_hosted b/vm_hosted index a793041..6e43c25 100755 --- a/vm_hosted +++ b/vm_hosted @@ -291,7 +291,7 @@ rule_boot_configure () { rule_dovecot_configure () { rule apt_get_install dovecot-imapd dovecot-managesieved dovecot-sieve local hint="run vm_remote dovecot_key_send before" - assert "test -f /etc/dovecot/$vm_domainname/imap/x509/key.pem" hint + assert "sudo test -f /etc/dovecot/\"$vm_domainname\"/imap/x509/key.pem" hint sudo install -m 400 -o root -g root \ "$tool"/var/pub/x509/$vm_domainname/imap/crt+crl.self-signed.pem \ /etc/dovecot/$vm_domainname/imap/x509/crt+crl.self-signed.pem -- 2.20.1