aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/host_baremetal.sh
blob: 2281ffbf542a64f8558d3029de93bca3d127c00d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
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
}