Skip to content

Preference

Most configuration is handle through the Profile system, but there are a few modifiable options that can be changed over time in the server (outside of command line flags). These are preferences. The preferences are key value pairs where both the key and the value are strings. The use internally may be an integer, but the specification through the DRP API is by string.

Pref Type Description
defaultBootEnv string This is a valid BootEnv the is assign to a Machine if the machine does not have a bootenv specified. The default is sledgehammer.
unknownBootEnv string This is the BootEnv used when a boot request is serviced by an unknown machine. The BootEnv must have OnlyUnknown set to true. The default is ignore.
unknownTokenTimeout integer The amount of time in seconds that the token generated by GenerateToken is valid for unknown machines. The default is 600 seconds.
knownTokenTimeout integer The amount of time in seconds that the token generated by GenerateToken is valid for known machines. The default is 3600 seconds.
debugRenderer integer The debug level of the renderer system. 0 = off, 1 = info, 2 = debug
debugDhcp integer The debug level of the DHCP system. 0 = off, 1 = info, 2 = debug
debugBootEnv integer The debug level of the BootEnv system. 0 = off, 1 = info, 2 = debug