[FIX] Ajouter le paquet resolvconf
This commit is contained in:
		@@ -38,7 +38,6 @@ packages:
 | 
			
		||||
    - action: install
 | 
			
		||||
      packages:
 | 
			
		||||
        - locales
 | 
			
		||||
        - resolvconf
 | 
			
		||||
        - sudo
 | 
			
		||||
    - action: remove
 | 
			
		||||
      packages:
 | 
			
		||||
@@ -50,7 +49,6 @@ actions:
 | 
			
		||||
      #!/bin/sh
 | 
			
		||||
      set -eux
 | 
			
		||||
 | 
			
		||||
      echo "REPORT_ABSENT_SYMLINK=no" | tee /etc/default/resolvconf
 | 
			
		||||
 | 
			
		||||
  - trigger: post-packages
 | 
			
		||||
    action: |-
 | 
			
		||||
@@ -62,7 +60,12 @@ actions:
 | 
			
		||||
      dpkg-reconfigure --frontend=noninteractive locales
 | 
			
		||||
      update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
 | 
			
		||||
 | 
			
		||||
      # Restore resolv.conf symlink
 | 
			
		||||
      # 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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user