mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Update lxc.sh
This commit is contained in:
parent
d218bbf61d
commit
9eb0643d65
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
LXC_CREATE () {
|
LXC_CREATE () {
|
||||||
log_info "Launching new LXC $LXC_NAME ..."
|
log_info "Launching new LXC $LXC_NAME ..."
|
||||||
# Check if we can launch container from yunohost remote image
|
# Check if we can launch container from YunoHost remote image
|
||||||
if lxc remote list | grep -q "yunohost" && lxc image list yunohost:$LXC_BASE | grep -q -w $LXC_BASE; then
|
if lxc remote list | grep -q "yunohost" && lxc image list yunohost:$LXC_BASE | grep -q -w $LXC_BASE; then
|
||||||
lxc launch yunohost:$LXC_BASE $LXC_NAME \
|
lxc launch yunohost:$LXC_BASE $LXC_NAME \
|
||||||
-c security.nesting=true \
|
-c security.nesting=true \
|
||||||
|
|
Loading…
Add table
Reference in a new issue