#!/bin/bash

ssh 10.10.0.15 'sudo zfs list' | grep "cloud/opennebula/persistent/lv-one-" | awk '{ print $1 }' | sed 's/cloud\/opennebula\/persistent\/lv-one-//' | sed 's/-/ /'


#!/bin/bash

ssh 10.10.0.15 'sudo zfs list' | grep "cloud/opennebula/persistent/lv-one-" | awk '{ print $1 }' | sed 's/cloud\/opennebula\/persistent\/lv-one-//' | sed 's/-/ /g' | awk '{ if (NF == 1) print $1; else print $1 " " $2 }'


Update script to fit new name pattern
Update script to fit new name pattern
