EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 632bad87 authored by Karl Grube's avatar Karl Grube
Browse files

debian fix hopefully

parent 4fa855ff
No related branches found
No related tags found
No related merge requests found
{% if lxc_distribution == 'debian' %}
grep 'No DNS servers known' -q /etc/resolv.conf && echo "{% for resolver in dns_resolvers %}nameserver {{resolver.ip}} \n{% endfor %}" > /etc/resolv.conf
echo "{% for resolver in dns_resolvers %}nameserver {{resolver.ip}} \n{% endfor %}" > /etc/resolv.conf
apt update
apt install -y python3 python3-apt
{% elif lxc_distribution == 'alpine' %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment