[FIX] Ajouter le paquet resolvconf
This commit is contained in:
parent
5f0385cf58
commit
40adc73cd0
@ -45,6 +45,13 @@ packages:
|
|||||||
- nano
|
- nano
|
||||||
|
|
||||||
actions:
|
actions:
|
||||||
|
- trigger: post-update
|
||||||
|
action: |-
|
||||||
|
#!/bin/sh
|
||||||
|
set -eux
|
||||||
|
|
||||||
|
echo "REPORT_ABSENT_SYMLINK=no" | tee /etc/default/resolvconf
|
||||||
|
|
||||||
- trigger: post-packages
|
- trigger: post-packages
|
||||||
action: |-
|
action: |-
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
@ -55,6 +62,9 @@ actions:
|
|||||||
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
|
||||||
|
|
||||||
|
# Restore resolv.conf symlink
|
||||||
|
ln -nsf ../run/resolvconf/resolv.conf /etc/resolv.conf
|
||||||
|
|
||||||
# Cleanup underlying /run
|
# Cleanup underlying /run
|
||||||
mount -o bind / /mnt
|
mount -o bind / /mnt
|
||||||
rm -rf /mnt/run/*
|
rm -rf /mnt/run/*
|
||||||
|
Loading…
Reference in New Issue
Block a user