testing
This commit is contained in:
parent
5094a4d330
commit
72d31f1015
@ -1437,6 +1437,17 @@ EOF'
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
destroy_lxc() {
|
||||||
|
if [[ -n "$CTID" ]]; then
|
||||||
|
echo "Würde Container $CTID entfernen!"
|
||||||
|
# pct stop "$CTID"
|
||||||
|
# pct destroy "$CTID"
|
||||||
|
# msg_ok "Removed this Container"
|
||||||
|
else
|
||||||
|
echo "Keine CTID – nichts zu entfernen."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# This function sets the description of the container.
|
# This function sets the description of the container.
|
||||||
description() {
|
description() {
|
||||||
IP=$(pct exec "$CTID" ip a s dev eth0 | awk '/inet / {print $2}' | cut -d/ -f1)
|
IP=$(pct exec "$CTID" ip a s dev eth0 | awk '/inet / {print $2}' | cut -d/ -f1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user