Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

searching for iface lo at the wrong place #317

Open
ggzengel opened this issue Nov 25, 2024 · 0 comments
Open

searching for iface lo at the wrong place #317

ggzengel opened this issue Nov 25, 2024 · 0 comments

Comments

@ggzengel
Copy link

if ! grep -q -E "^[[:space:]]*iface[[:space:]]+l[o0]([[:space:]]+inet([[:space:]]+loopback)?)?[[:space:]]*$" /etc/network/interfaces ; then

I get:

"No 'iface lo' definition found in /etc/network/interfaces"

That's right, but

# cat /etc/network/interfaces.d/lo 
auto lo
iface lo inet loopback
	dns-nameservers 10.19.36.251 10.19.36.252
	dns-search domain.local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant