mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Force swap removal
This commit is contained in:
parent
e949d99c16
commit
668e146cd3
1 changed files with 2 additions and 0 deletions
|
@ -131,6 +131,8 @@ LXC_RESET () {
|
||||||
|
|
||||||
LXC_STOP $LXC_NAME
|
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
|
lxc delete $LXC_NAME --force 2>/dev/null
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue