mirror of
https://github.com/YunoHost/install_script.git
synced 2024-09-03 20:06:25 +02:00
Make /etc/resolv.conf mutable (#43)
This commit is contained in:
parent
31c5dc41fc
commit
18a7817e22
1 changed files with 4 additions and 0 deletions
|
@ -278,6 +278,10 @@ install_yunohost_packages() {
|
|||
# Allow sudo removal even if no root password has been set (on some DO
|
||||
# droplet or Vagrant virtual machines), as YunoHost use sudo-ldap
|
||||
export SUDO_FORCE_REMOVE=yes
|
||||
|
||||
# On some machines (e.g. OVH VPS), the /etc/resolv.conf is immutable
|
||||
# We need to make it mutable for the resolvconf dependency to be installed
|
||||
chattr -i /etc/resolv.conf 2>/dev/null || true
|
||||
|
||||
# Install YunoHost
|
||||
apt_get_wrapper \
|
||||
|
|
Loading…
Add table
Reference in a new issue