Commit 9a214bdb authored by Erwan BOUSSE's avatar Erwan BOUSSE
Browse files

Make resolv.conf symlink outside the curtin

parent fd512121
......@@ -19,7 +19,6 @@ echo "XSession=mate" >> /var/lib/AccountsService/users/etudiant
# Fix network
mkdir -p /etc/NetworkManager/conf.d/
touch /etc/NetworkManager/conf.d/10-globally-managed-devices.conf
sudo ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf || true
# Install VBox additions
apt-get -y install "linux-headers-$(uname -r)"
......@@ -25,4 +25,5 @@ autoinstall:
- cp /mnt/stuff/ /target/root
- cp /mnt/vboxiso/ /target/root
- curtin in-target -t /target -- /bin/bash /root/
\ No newline at end of file
- curtin in-target -t /target -- /bin/bash /root/
- ln -sf /run/systemd/resolve/stub-resolv.conf /target/etc/resolv.conf
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment