#!/bin/sh

set -e

PXE_SERVER_IP=$(cat /etc/oci/pxe-server-ip)
SYSTEM_SERIAL=$(oci-system-serial)

curl "http://${PXE_SERVER_IP}/oci/install-status.php?status=puppet-success&chassis-serial=${SYSTEM_SERIAL}"
