[FIX] Ajouter le paquet resolvconf
This commit is contained in:
		@@ -38,7 +38,6 @@ packages:
 | 
				
			|||||||
    - action: install
 | 
					    - action: install
 | 
				
			||||||
      packages:
 | 
					      packages:
 | 
				
			||||||
        - locales
 | 
					        - locales
 | 
				
			||||||
        - resolvconf
 | 
					 | 
				
			||||||
        - sudo
 | 
					        - sudo
 | 
				
			||||||
    - action: remove
 | 
					    - action: remove
 | 
				
			||||||
      packages:
 | 
					      packages:
 | 
				
			||||||
@@ -50,7 +49,6 @@ actions:
 | 
				
			|||||||
      #!/bin/sh
 | 
					      #!/bin/sh
 | 
				
			||||||
      set -eux
 | 
					      set -eux
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      echo "REPORT_ABSENT_SYMLINK=no" | tee /etc/default/resolvconf
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  - trigger: post-packages
 | 
					  - trigger: post-packages
 | 
				
			||||||
    action: |-
 | 
					    action: |-
 | 
				
			||||||
@@ -62,7 +60,12 @@ 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
 | 
					      # 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
 | 
					      ln -nsf ../run/resolvconf/resolv.conf /etc/resolv.conf
 | 
				
			||||||
 
 | 
					 
 | 
				
			||||||
      # Cleanup underlying /run
 | 
					      # Cleanup underlying /run
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user