Open mor1 opened 10 years ago
I agree with your syntax.
On 11 Aug 2013, at 23:23, Richard Mortier notifications@github.com wrote:
the syntax main-noip etc seems very odd to me; the following seems more natural (and more orthogonal across :
main: xxx should define the entry point alone (ie., be orthogonal to network config) networking should be specified by the presence of either ip-use-dhcp: true or the presence of all three of ip-static-{address,netmask,gateway}: x.x.x.x (i guess you could default ip-netmask and ip-gateway to a /24 and x.x.x.1 if you wanted.)
make sense? comments?
— Reply to this email directly or view it on GitHub.
I guess I was in a rush when I've added that main-noip
target (and didn't have enough examples to find the good design abstraction).
So yes, agreed as well with that design change.
On 12/08/2013 09:29, Thomas Gazagnaire wrote:
I guess I was in a rush when I've added that |main-noip| target (and didn't have enough examples to find the good design abstraction).
So yes, agreed as well with that design change.
I added the main-nopip target, as a quick hack. I'm going to implement the suggested change as everybody seem to agree :)
the syntax
main-noip
etc seems very odd to me; the following seems more natural (and more orthogonal across :main: xxx
should define the entry point alone (ie., be orthogonal to network config)ip-use-dhcp: true
or the presence of all three ofip-static-{address,netmask,gateway}: x.x.x.x
(i guess you could default
ip-netmask
andip-gateway
to a /24 and x.x.x.1 if you wanted.)make sense? comments?