Skip to content
Snippets Groups Projects
Commit b652ab99 authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Do not remove resolv.conf.

parent 3df34ec4
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
source /root/envsetup/global-conf.sh source /root/envsetup/global-conf.sh
# resolvconf
apt-get purge -y resolvconf
# modify sources.list to use ubicast cache # modify sources.list to use ubicast cache
if ( ! test -z ${APT_CACHE_HOST} ); then if ( ! test -z ${APT_CACHE_HOST} ); then
if ( ! grep "${APT_CACHE_HOST}" /etc/apt/sources.list >/dev/null ); then if ( ! grep "${APT_CACHE_HOST}" /etc/apt/sources.list >/dev/null ); then
......
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