diff --git a/bin/pct-status b/bin/pct-status index 912f422..9369c45 100755 --- a/bin/pct-status +++ b/bin/pct-status @@ -13,7 +13,7 @@ function usage { function status { if vmid=$($BASEDIR/pct-lookup $CONTAINER_NAME); then - pct status $vmid | cut -d ' ' -f2 + lxc-info -sH $vmid else exit 10 fi diff --git a/result b/result new file mode 100644 index 0000000..64f8934 --- /dev/null +++ b/result @@ -0,0 +1 @@ +State: RUNNING