test
This commit is contained in:
parent
e39912f0b1
commit
dba0e738e6
@ -16,10 +16,10 @@ do
|
|||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
1)
|
1)
|
||||||
call=$(k3s kubectl get pvc -A | sort -u | awk '{print $1 "\t" $2 "\t" $4}' | column -t | sed "s/^0/ /")
|
call=$(k3s kubectl get pvc -A | sort -u | awk '{print $1 "\t" $2 "\t" $4}' | sed "s/^0/ /")
|
||||||
mount_list=$(echo "$call" | sed 1d | nl -s ") ")
|
mount_list=$(echo "$call" | sed 1d | nl -s ") ")
|
||||||
mount_title=$(echo "$call" | head -n 1)
|
mount_title=$(echo "$call" | head -n 1)
|
||||||
list=$(echo -e "$mount_title\n$mount_list")
|
list=$(echo -e "$mount_title\n$mount_list" | column -t)
|
||||||
|
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user