check_site.lua 243 B

12345678910
  1. need_string 'site_code'
  2. need_string 'site_name'
  3. need_string 'hostname_prefix'
  4. need_string 'timezone'
  5. need_string_array('ntp_servers', false)
  6. need_string_match('prefix4', '^%d+.%d+.%d+.%d+/%d+$')
  7. need_string_match('prefix6', '^[%x:]+/%d+$')