Files
terraform-provider-unifi/scripts/init.d/demo-mode
Joshua Spence 592bc6267f Don't use the USP-RPS as a test device
The [USP-RPS](https://store.ui.com/products/usp-rps) is a "switch" (has `usw` type) but it doesn't have ports and so the port override tests will fail. Just ignore these devices.
2023-02-28 21:52:07 +11:00

14 lines
347 B
Bash
Executable File

#!/bin/sh
write_config() {
echo "${1}=${2}" >> /usr/lib/unifi/data/system.properties
}
write_config demo.skip_wizard false
write_config is_simulation true
# Increase the number of demo devices to allow more concurrent tests to be executed simultaneously.
write_config demo.num_uap 20
write_config demo.num_ugw 20
write_config demo.num_usw 20