forksand-it-manual/source/resources/apps/proxmox/forksand-get-pools

5 lines
91 B

#!/bin/bash
ssh sf-001 sudo pvesh get pools 2>/dev/null | grep poolid | cut -f 4 -d '"'