Revert "[EVO] Ajouter le paquet resolvconf"
This commit is contained in:
parent
71dc83c77b
commit
a823b83704
@ -44,12 +44,6 @@ packages:
|
|||||||
- nano
|
- nano
|
||||||
|
|
||||||
actions:
|
actions:
|
||||||
- trigger: post-update
|
|
||||||
action: |-
|
|
||||||
#!/bin/sh
|
|
||||||
set -eux
|
|
||||||
|
|
||||||
|
|
||||||
- trigger: post-packages
|
- trigger: post-packages
|
||||||
action: |-
|
action: |-
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -59,14 +53,6 @@ actions:
|
|||||||
echo "en_US.UTF-8 UTF-8" | tee --append /etc/locale.gen
|
echo "en_US.UTF-8 UTF-8" | tee --append /etc/locale.gen
|
||||||
dpkg-reconfigure --frontend=noninteractive locales
|
dpkg-reconfigure --frontend=noninteractive locales
|
||||||
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
|
||||||
|
|
||||||
# Install resolvconf
|
|
||||||
echo resolvconf resolvconf/linkify-resolvconf boolean false | debconf-set-selections
|
|
||||||
echo "REPORT_ABSENT_SYMLINK=no" >> /etc/default/resolvconf
|
|
||||||
apt-get -y install resolvconf
|
|
||||||
echo resolvconf resolvconf/linkify-resolvconf boolean true | debconf-set-selections
|
|
||||||
rm /etc/default/resolvconf
|
|
||||||
ln -nsf ../run/resolvconf/resolv.conf /etc/resolv.conf
|
|
||||||
|
|
||||||
# Cleanup underlying /run
|
# Cleanup underlying /run
|
||||||
mount -o bind / /mnt
|
mount -o bind / /mnt
|
||||||
|
Loading…
Reference in New Issue
Block a user