mirror of
https://github.com/armbian/configng.git
synced 2026-01-06 10:37:41 -08:00
20 lines
450 B
Plaintext
20 lines
450 B
Plaintext
ENABLED=false
|
|
RELEASE="noble"
|
|
TESTNAME="NetBox install"
|
|
|
|
testcase() {(
|
|
set -e
|
|
# Remove NetBox if already present
|
|
./bin/armbian-config --api module_netbox remove
|
|
|
|
# Install NetBox
|
|
./bin/armbian-config --api module_netbox install joe@test.com password
|
|
|
|
# Check status
|
|
./bin/armbian-config --api module_netbox status
|
|
|
|
# Optional: check service port via curl
|
|
curl --fail --silent http://localhost:8222/login/?next=/users/tokens/ > /dev/null
|
|
|
|
)}
|