#!/bin/sh

set -e

. /usr/bin/oci-cluster-upgrade-funcs

ALL_NODES=$(ocicli -csv machine-list -a | q -H -d, "SELECT Cur_ip,hostname FROM - WHERE status='installed' ORDER BY hostname" | tr '\n' ' ')
oci_check_all_nodes_alive
