From 2a9dc352f9d0caac4a28c05cc801a004182e960e Mon Sep 17 00:00:00 2001
From: Aaron LI <aly@aaronly.me>
Date: Thu, 15 Jun 2017 13:02:47 +0800
Subject: Use the same mirror for security updates

---
 roles/netinstall/templates/debian.preseed.cfg.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'roles/netinstall')

diff --git a/roles/netinstall/templates/debian.preseed.cfg.j2 b/roles/netinstall/templates/debian.preseed.cfg.j2
index c01f4e9..30c3e53 100644
--- a/roles/netinstall/templates/debian.preseed.cfg.j2
+++ b/roles/netinstall/templates/debian.preseed.cfg.j2
@@ -311,7 +311,7 @@ d-i apt-setup/contrib boolean true
 # Values shown below are the normal defaults.
 d-i apt-setup/services-select multiselect security, updates
 #d-i apt-setup/security_host string security.debian.org
-d-i apt-setup/security_host string {{ apt_security_host }}
+d-i apt-setup/security_host string {{ apt_mirror }}
 
 # Additional repositories, local[0-9] available
 #d-i apt-setup/local0/repository string \
-- 
cgit v1.2.2