)]}'
{"vars/ubuntu-14.04.yml":[{"author":{"_account_id":22042,"name":"Chris Smart","email":"distroguy@gmail.com","username":"csmart"},"change_message_id":"f891f67634c1a8387fae663fff9acf241af7afdd","unresolved":false,"context_lines":[{"line_number":48,"context_line":"    if [ -a /etc/resolv.conf ]; then"},{"line_number":49,"context_line":"      mv /etc/resolv.conf /etc/resolv.conf.org"},{"line_number":50,"context_line":"    fi"},{"line_number":51,"context_line":"    echo \"nameserver {{ lxc_net_address }}\" \u003e /etc/resolv.conf"},{"line_number":52,"context_line":"    apt-key add /root/repo.keys"},{"line_number":53,"context_line":"    rm /root/repo.keys"},{"line_number":54,"context_line":"    export DEBIAN_FRONTEND\u003dnoninteractive"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3ac371cc_99bda4da","line":51,"updated":"2016-08-18 02:02:01.000000000","message":"n00b query: if we\u0027re just going to write lxc_net_address to /etc/resolv.conf, can we simply do that somewhere and not worry about copying resolv.conf from the host? (and therefore skip all the moving of files?)\n\nAlso, what happens if something fails in this process, does the host end up without a resolv.conf?","commit_id":"bb2e7a08a03938ad7a40f0c58d02f8acd00ced28"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"040f48be35a3a5e382b82a88bafe6aa29cb20d7a","unresolved":false,"context_lines":[{"line_number":48,"context_line":"    if [ -a /etc/resolv.conf ]; then"},{"line_number":49,"context_line":"      mv /etc/resolv.conf /etc/resolv.conf.org"},{"line_number":50,"context_line":"    fi"},{"line_number":51,"context_line":"    echo \"nameserver {{ lxc_net_address }}\" \u003e /etc/resolv.conf"},{"line_number":52,"context_line":"    apt-key add /root/repo.keys"},{"line_number":53,"context_line":"    rm /root/repo.keys"},{"line_number":54,"context_line":"    export DEBIAN_FRONTEND\u003dnoninteractive"}],"source_content_type":"text/x-yaml","patch_set":4,"id":"3ac371cc_1181848f","line":51,"in_reply_to":"3ac371cc_99bda4da","updated":"2016-08-18 06:01:36.000000000","message":"Writing this is only for the purpose of preparing the cache which is executed through a chroot. That\u0027s why the file is removed again at the end of this script and restored to its original state (whatever it was in the downloaded base).\n\nWhen an actual container is created based on this cache, resolvconf will overwrite the contents of /etc/resolv.conf with whatever is picked up from the network interfaces.","commit_id":"bb2e7a08a03938ad7a40f0c58d02f8acd00ced28"}]}
