Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
ffbs-gluon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
darkbit
ffbs-gluon
Commits
ccc1330e
Commit
ccc1330e
authored
11 years ago
by
Matthias Schiffer
Browse files
Options
Downloads
Patches
Plain Diff
next-node: rename config sections
parent
c14f3230
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
package/gluon-next-node/generate/lib/gluon/upgrade/next-node/invariant/010-next-node
+13
-13
13 additions, 13 deletions
...erate/lib/gluon/upgrade/next-node/invariant/010-next-node
with
13 additions
and
13 deletions
package/gluon-next-node/generate/lib/gluon/upgrade/next-node/invariant/010-next-node
+
13
−
13
View file @
ccc1330e
...
...
@@ -3,20 +3,20 @@
.
/lib/functions.sh
uci_remove network local_node_dev
uci_add network device local_node_dev
uci_set network local_node_dev name
'local-node'
uci_set network local_node_dev ifname
'@client'
uci_set network local_node_dev
type
'macvlan'
uci_set network local_node_dev macaddr
'@next_node.mac@'
uci_remove network local_node
uci_add network device local_node
uci_set network local_node name
'local-node'
uci_set network local_node ifname
'@client'
uci_set network local_node
type
'macvlan'
uci_set network local_node macaddr
'@next_node.mac@'
uci_remove network local_node_if
uci_add network interface local_node_if
uci_set network local_node_if ifname
'local-node'
uci_set network local_node_if proto
'static'
uci_set network local_node_if ipaddr
'@next_node.ip4@'
uci_set network local_node_if netmask
'255.255.255.255'
uci_set network local_node_if ip6addr
'@next_node.ip6@/128'
uci_add network interface local_node
uci_set network local_node ifname
'local-node'
uci_set network local_node proto
'static'
uci_set network local_node ipaddr
'@next_node.ip4@'
uci_set network local_node netmask
'255.255.255.255'
uci_set network local_node ip6addr
'@next_node.ip6@/128'
eval
$(
ipcalc.sh
'@prefix4@'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment