1

Currently trying to modify a custom ISO image using Cubic.

As per this, I am supposed to enter

ln -sr /run/systemd/resolve/resolve.conf /run/systemd/resolve/stub-resolve.conf

But what is returned is

ln:failed to create symbolic link '/run/systemd/resolve/stub-resolve.conf': no such file or directory 

Even hostname -i doesn't resolve.

How can I get internet access on it since I need to use apt.

Rattle
  • 175

1 Answers1

1

You must create the folder /run/systemd/resolve with mkdir :

mkdir /run/systemd/resolve

then you can create the link with:

ln -sr /var/run/resolvconf/resolv.conf /run/systemd/resolve/stub-resolv.conf
metalux
  • 26