File: oci-report-status

package info (click to toggle)
openstack-cluster-installer 43.0.26
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,572 kB
  • sloc: php: 19,169; sh: 18,260; ruby: 75; makefile: 31; xml: 8
file content (11 lines) | stat: -rwxr-xr-x 271 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e

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

oci-wait-for-networking

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