Update changelog for 0.20.
[tails-test.git] / features / support / config.rb
blob5eadab14f48800e87c568e7681bb5e2cb333a9cb
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 puts "Testing ISO image: #{File.basename($tails_iso)}"
8 puts "Using old ISO image: #{File.basename($old_tails_iso)}"
9 $tmp_dir = ENV['TEMP_DIR'] || "/tmp/TailsToaster"
10 $vm_xml_path = ENV['VM_XML_PATH'] || "#{Dir.pwd}/features/domains"
11 $misc_files_dir = "#{Dir.pwd}/features/misc_files"
12 $keep_snapshots = !ENV['KEEP_SNAPSHOTS'].nil?
13 $x_display = ENV['DISPLAY']
14 $debug = !ENV['DEBUG'].nil?
15 $time_at_start = Time.now
16 $live_user = cmd_helper(". config/chroot_local-includes/etc/live/config.d/username.conf; echo ${LIVE_USERNAME}").chomp
18 # Static
19 $configured_keyserver_hostname = 'hkps.pool.sks-keyservers.net'
20 $services_expected_on_all_ifaces =
21   [
22    ["cupsd",    "0.0.0.0", "631"],
23    ["dhclient", "0.0.0.0", "68"]
24   ]
25 $tor_authorities =
26   # List grabbed from Tor's sources, src/or/config.c:~750.
27   [
28    "128.31.0.39", "86.59.21.38", "194.109.206.212",
29    "82.94.251.203", "76.73.17.194", "212.112.245.170",
30    "193.23.244.244", "208.83.223.34", "171.25.193.9",
31    "154.35.32.5"
32   ]
33 # OpenDNS
34 $some_dns_server = "208.67.222.222"