mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
commit
58cd8c97ee
1 changed files with 2 additions and 0 deletions
|
@ -131,6 +131,8 @@ LXC_RESET () {
|
|||
|
||||
LXC_STOP $LXC_NAME
|
||||
|
||||
swapoff "$(lxc storage get default source)/containers/$LXC_NAME/rootfs/swap" 2>/dev/null
|
||||
|
||||
lxc delete $LXC_NAME --force 2>/dev/null
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue