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
16e62936
Unverified
Commit
16e62936
authored
Apr 12, 2020
by
Stéphane Graber
Committed by
GitHub
Apr 12, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3376 from toddnni/lxc-oci-fix
Fix lxc-oci template with loop backingstore
parents
0443ed92
bbd84ff1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lxc-oci.in
templates/lxc-oci.in
+1
-2
No files found.
templates/lxc-oci.in
View file @
16e62936
...
@@ -348,8 +348,7 @@ fi
...
@@ -348,8 +348,7 @@ fi
# shellcheck disable=SC2039
# shellcheck disable=SC2039
# shellcheck disable=SC2068
# shellcheck disable=SC2068
umoci
--log
=
error unpack
${
umoci_args
[@]
}
--image
"
${
DOWNLOAD_TEMP
}
:latest"
"
${
LXC_ROOTFS
}
.tmp"
umoci
--log
=
error unpack
${
umoci_args
[@]
}
--image
"
${
DOWNLOAD_TEMP
}
:latest"
"
${
LXC_ROOTFS
}
.tmp"
rmdir
"
${
LXC_ROOTFS
}
"
find
"
${
LXC_ROOTFS
}
.tmp/rootfs"
-mindepth
1
-maxdepth
1
-exec
mv
'{}'
"
${
LXC_ROOTFS
}
/"
\;
mv
"
${
LXC_ROOTFS
}
.tmp/rootfs"
"
${
LXC_ROOTFS
}
"
OCI_CONF_FILE
=
$(
getconfigpath
"
${
DOWNLOAD_TEMP
}
"
latest
)
OCI_CONF_FILE
=
$(
getconfigpath
"
${
DOWNLOAD_TEMP
}
"
latest
)
LXC_CONF_FILE
=
"
${
LXC_PATH
}
/config"
LXC_CONF_FILE
=
"
${
LXC_PATH
}
/config"
...
...
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