[FIX] Installer resolvconf
This commit is contained in:
parent
a823b83704
commit
258ea348ab
@ -37,6 +37,7 @@ packages:
|
|||||||
sets:
|
sets:
|
||||||
- action: install
|
- action: install
|
||||||
packages:
|
packages:
|
||||||
|
- dbus
|
||||||
- locales
|
- locales
|
||||||
- sudo
|
- sudo
|
||||||
- action: remove
|
- action: remove
|
||||||
@ -54,6 +55,13 @@ 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
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
# 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