- Download the Metalbox image from the well known URL. Use the file as virtual media (vHDD).
- Download the small Grml live ISO file. Use the file as virtual media (vDVD) and boot it.
- Write the Metalbox image with
dd if=/dev/sdc of=/dev/sda bs=4M status=progress
to the first disk. Afterwards power off the node, remove all virtual media devices and power on the node again. - Export the NetBox configuration repository with
netbox-manager export-archive -i
. When using a NetBox configuration repository provided by us, the file can be downloaded from GitHub after a trigger of theRun export
action. Use the file as virtual media (vHDD) and runnetbox-import.sh
. Afterwards remove the virtual media (vHDD). - Run
deploy-netbox.sh
to deploy the NetBox service. - Run
netbox-manage.sh
to initialise the NetBox service. - Set the managed site by running
netbox-site.sh SITE
(replaceSITE
with the slug name of the site managed by this Metalbox) - Run
deploy-manager.sh
to deploy the OSISM manager service. - Run
osism sync inventory
to sync the inventory - Run
osism apply hosts
to sync the/etc/hosts
file - Run
osism apply network
to sync the network configuration - Run
osism apply facts
to sync the facts - Run
osism apply chrony
to sync the NTP configuration - Download the SONiC export image from the well known URL. Use the file as virtual media (vHDD).
- Run
deploy-sonic.sh
to deploy the SONiC ZTP services. Afterwards remove the virtual media (vHDD). - Run
deploy-infrastructure.sh
to deploy the infrastructure services - Run
deploy-openstack.sh
to Deploy the OpenStack services - Run
osism apply -e custom ironic-upload-images
to upload required Ironic image files - Run
osism sync ironic
to sync the baremetal nodes
- Download
registry.tar.bz2
from https://swift.services.a.regiocloud.tech/swift/v1/AUTH_b182637428444b9aa302bb8d5a5a418c/metalbox/registry.tar.bz2 - Copy
registry.tar.bz2
to/home/dragon
on the Metalbox node - Run
SKIP_DOWNLOAD=true update-registry.sh
to update the container registry
- Export the NetBox configuration repository with
netbox-manager export-archive -i
. When using a NetBox configuration repository provided by us, the file can be downloaded from GitHub after a trigger of theRun export
action. Copynetbox-export.img
to/home/dragon
on the Metalbox node - Run
mount-images.sh
to mount thenetbox-export.img
image - Run
netbox-import.sh
to sync the files in/opt/configuration/netbox
- Run
unmount-images.sh
to unmount thenetbox-export.img
image - Run
netbox-manage.sh
to sync netbox with the state in/opt/configuration/netbox
- Run
update-manager.sh
to update the manager service
- Run
update-netbox.sh
to update the NetBox service
- Run
update-infrastructure.sh
to update the infrastructure services
- Run
update-openstack.sh
to update the OpenStack services