Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lxc
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
lxc
Commits
ea8fa04f
Unverified
Commit
ea8fa04f
authored
Feb 27, 2018
by
Christian Brauner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxc-local: add --mapped-{g,u}id flags
Signed-off-by:
Christian Brauner
<
christian.brauner@ubuntu.com
>
parent
4328e9e3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
lxc-local.in
templates/lxc-local.in
+4
-1
No files found.
templates/lxc-local.in
View file @
ea8fa04f
...
@@ -69,7 +69,8 @@ LXC internal arguments (do not pass manually!):
...
@@ -69,7 +69,8 @@ LXC internal arguments (do not pass manually!):
[ --name <name> ]: The container name
[ --name <name> ]: The container name
[ --path <path> ]: The path to the container
[ --path <path> ]: The path to the container
[ --rootfs <rootfs> ]: The path to the container's rootfs
[ --rootfs <rootfs> ]: The path to the container's rootfs
[ --mapped-uid <map> ]: A uid map (user namespaces)
[ --mapped-gid <map> ]: A gid map (user namespaces)
EOF
EOF
return
0
return
0
}
}
...
@@ -88,6 +89,8 @@ while :; do
...
@@ -88,6 +89,8 @@ while :; do
--rootfs
)
LXC_ROOTFS
=
"
$2
"
;
shift
2
;;
--rootfs
)
LXC_ROOTFS
=
"
$2
"
;
shift
2
;;
-m
|
--metadata
)
LXC_CONFIG
=
"
$2
"
;
shift
2
;;
-m
|
--metadata
)
LXC_CONFIG
=
"
$2
"
;
shift
2
;;
-f
|
--fstree
)
LXC_FSTREE
=
"
$2
"
;
shift
2
;;
-f
|
--fstree
)
LXC_FSTREE
=
"
$2
"
;
shift
2
;;
--mapped-uid
)
LXC_MAPPED_UID
=
"
$2
"
;
shift
2
;;
--mapped-gid
)
LXC_MAPPED_GID
=
"
$2
"
;
shift
2
;;
*
)
break
;;
*
)
break
;;
esac
esac
done
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment