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

Interfaces file formatting #8

Open
DamienBth opened this issue Oct 14, 2015 · 0 comments
Open

Interfaces file formatting #8

DamienBth opened this issue Oct 14, 2015 · 0 comments

Comments

@DamienBth
Copy link

Despite all examples in debian documentation :

iface eth0 inet static
address 192.168.10.1
netmask 255.255.255.0

works exactly like :

iface eth0 inet static
        address 192.168.10.1
        netmask 255.255.255.0

And I can't find any rule about indentation. So I consider it like a convention not a norm. I think you should do the same and handle both ways. But the choice is yours.
https://github.com/dggreenbaum/debinterface/blob/master/interfacesReader.py#L81

PS : By the way, good job for this quite helpful tool :D

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