[lxc-devel] [linuxcontainers.org/master] Fix typo in getting-started guide for lxc.idmap config
SimonBaeumer on Github
lxc-bot at linuxcontainers.org
Tue Jun 19 12:18:54 UTC 2018
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 358 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180619/fba2f89a/attachment.bin>
-------------- next part --------------
From 5f7fe7f6d4ed625c1fcefe28705db6f0410cfe14 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simon=20B=C3=A4umer?= <baeumer at pm.me>
Date: Tue, 19 Jun 2018 14:14:22 +0200
Subject: [PATCH] Fix typo in lxc.idmap config
---
.gitignore | 1 +
content/lxc/getting-started.md | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
index 6db5024..eae6e9b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ output/*
manpages/*
content/lxc/apidoc/*
.vscode
+.idea
\ No newline at end of file
diff --git a/content/lxc/getting-started.md b/content/lxc/getting-started.md
index ed2bd53..e4e6d4e 100644
--- a/content/lxc/getting-started.md
+++ b/content/lxc/getting-started.md
@@ -87,8 +87,8 @@ With that done, the last step is to create an LXC configuration file.
* Create the ~/.config/lxc directory if it doesn't exist.
* Copy /etc/lxc/default.conf to ~/.config/lxc/default.conf
* Append the following two lines to it:
- * lxc.id\_map = u 0 100000 65536
- * lxc.id\_map = g 0 100000 65536
+ * lxc.idmap = u 0 100000 65536
+ * lxc.idmap = g 0 100000 65536
Those values should match those found in /etc/subuid and /etc/subgid, the values above are those expected
for the first user on a standard Ubuntu system.
More information about the lxc-devel
mailing list