Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
swmodd
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue 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
LCM
swmodd
Commits
b84f82e8
Unverified
Commit
b84f82e8
authored
2 years ago
by
Vivek Dutta
Browse files
Options
Downloads
Patches
Plain Diff
Fix path in lxc example config
parent
45ac1e43
No related branches found
No related tags found
1 merge request
!86
Fix path in lxc example config
Pipeline
#103900
passed
2 years ago
Stage: oci_sulu
Stage: static_code_analysis
Stage: api_test
Stage: deploy
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/iowrt/config
+20
-10
20 additions, 10 deletions
examples/iowrt/config
with
20 additions
and
10 deletions
examples/iowrt/config
+
20
−
10
View file @
b84f82e8
lxc.net.0.type = veth
lxc.net.0.link = lxcbr0
lxc.net.0.flags = up
lxc.net.0.hwaddr = 00:16:3e:8e:25:2d
lxc.rootfs.path = dir:/tmp/lxc/test/rootfs
lxc.uts.name = "test"
lxc.cap.drop = mac_admin
lxc.cap.drop = mac_admin
lxc.cap.drop = mac_override
lxc.cap.drop = mac_override
lxc.cap.drop = sys_admin
lxc.cap.drop = sys_admin
...
@@ -27,11 +19,29 @@ lxc.tty.max = 5
...
@@ -27,11 +19,29 @@ lxc.tty.max = 5
lxc.pty.max = 5
lxc.pty.max = 5
lxc.mount.auto = cgroup:mixed proc:mixed sys:mixed
lxc.mount.auto = cgroup:mixed proc:mixed sys:mixed
# Networking block
lxc.net.0.type = veth
lxc.net.0.link = lxcbr0
lxc.net.0.flags = up
lxc.net.0.type = veth
lxc.net.0.type = veth
lxc.net.0.flags = up
lxc.net.0.flags = up
lxc.net.0.link = br-lan
lxc.net.0.link = br-lan
lxc.net.0.name = eth0
lxc.net.0.name = eth0
lxc.net.0.mtu = 1500
lxc.net.0.mtu = 1500
lxc.mount.entry = /lib lib none ro,bind 0 0
# Rootfs path
lxc.mount.entry = /sys/kernel/security sys/kernel/security none ro,bind,optional 0 0
lxc.rootfs.path = dir:/tmp/lxc/iowrt/rootfs
lxc.uts.name = "iowrt"
# Application start point
lxc.init.cmd = "/sbin/init"
# Users
#lxc.init.uid = 1002
#lxc.init.gid = 1002
# Mount points
lxc.mount.entry = /etc/config/wireless etc/config/wireless none ro,bind,create=file,optional 0 0
lxc.mount.entry = /etc/config/mapcontroller etc/config/mapcontroller none rw,bind,create=file,optional 0 0
lxc.mount.entry = /var/run/ubus/ubus.sock run/ubus/ubus.sock none rw,bind,create=file,optional 0 0
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