During preseeded install, apt-cacher is not yet available.

This commit is contained in:
Andreas B. Mundt 2022-03-14 15:24:50 +01:00 committed by Andreas B. Mundt
parent 6e350463e7
commit aa34a0a910

View file

@ -24,7 +24,7 @@
chdir: /var/lib/machines/ chdir: /var/lib/machines/
creates: /var/lib/machines/{{ contname }}00 creates: /var/lib/machines/{{ contname }}00
environment: environment:
http_proxy: http://localhost:3142 http_proxy: "{{ '' if run_in_installer|default(false) else 'http://localhost:3142' }}"
notify: enable and restart containers notify: enable and restart containers
- name: provide complete apt sources - name: provide complete apt sources