aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/host_baremetal.sh
blob: 0210cee86be7cea357a563ebeb9c8d1be7a96ae8 (plain)
1
2
3
4
5
6
7
8
9
10
11
function reboot_hosts() {
    if [ -z $POWER_MANAGE ]; then
        return
    fi
    $POWER_MANAGE
}

function get_host_macs() {
    machines=`echo $HOST_MACS | sed -e 's/,/'\',\''/g' -e 's/^/'\''/g' -e 's/$/'\''/g'`
    echo $machines
}