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
8f54d926
Commit
8f54d926
authored
Dec 08, 2017
by
Felix Abecassis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxc-oci: add IPv6 support to /etc/hosts
Signed-off-by:
Felix Abecassis
<
fabecassis@nvidia.com
>
parent
e86dcc91
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
lxc-oci.in
templates/lxc-oci.in
+5
-0
No files found.
templates/lxc-oci.in
View file @
8f54d926
...
@@ -308,6 +308,11 @@ EOF
...
@@ -308,6 +308,11 @@ EOF
cat
<<
EOF
>
${
LXC_ROOTFS
}
/etc/hosts
cat
<<
EOF
>
${
LXC_ROOTFS
}
/etc/hosts
127.0.0.1 localhost
127.0.0.1 localhost
127.0.1.1
${
LXC_NAME
}
127.0.1.1
${
LXC_NAME
}
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
EOF
EOF
uidgid
=(
$(
getuidgid
${
OCI_CONF_FILE
})
)
uidgid
=(
$(
getuidgid
${
OCI_CONF_FILE
})
)
...
...
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