Merge remote-tracking branch 'flapflap/de-network_configuration'
[tails-test.git] / features / support / config.rb
blob85d98eeedc7b6a31c2ba056bc4940c301e146635
1 require 'fileutils'
2 require "#{Dir.pwd}/features/support/helpers/misc_helpers.rb"
4 # Dynamic
5 $tails_iso = ENV['ISO'] || get_newest_iso
6 $old_tails_iso = ENV['OLD_ISO'] || get_oldest_iso
7 $tmp_dir = ENV['TEMP_DIR'] || "/tmp/TailsToaster"
8 $vm_xml_path = ENV['VM_XML_PATH'] || "#{Dir.pwd}/features/domains"
9 $misc_files_dir = "#{Dir.pwd}/features/misc_files"
10 $keep_snapshots = !ENV['KEEP_SNAPSHOTS'].nil?
11 $x_display = ENV['DISPLAY']
12 $debug = !ENV['DEBUG'].nil?
13 $pause_on_fail = !ENV['PAUSE_ON_FAIL'].nil?
14 $time_at_start = Time.now
15 $live_user = cmd_helper(". config/chroot_local-includes/etc/live/config.d/username.conf; echo ${LIVE_USERNAME}").chomp
16 $sikuli_retry_findfailed = !ENV['SIKULI_RETRY_FINDFAILED'].nil?
17 $git_dir = ENV['PWD']
19 # Static
20 $configured_keyserver_hostname = 'hkps.pool.sks-keyservers.net'
21 $services_expected_on_all_ifaces =
22   [
23    ["cupsd",    "0.0.0.0", "631"],
24    ["dhclient", "0.0.0.0", "*"]
25   ]
26 $tor_authorities =
27   # List grabbed from Tor's sources, src/or/config.c:~750.
28   [
29    "128.31.0.39", "86.59.21.38", "194.109.206.212",
30    "82.94.251.203", "76.73.17.194", "212.112.245.170",
31    "193.23.244.244", "208.83.223.34", "171.25.193.9",
32    "154.35.32.5"
33   ]
34 # OpenDNS
35 $some_dns_server = "208.67.222.222"