X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4995554e7b535b58f0f730eca6e6df9082aad083..7f16950aa28354ebff5763c97d8155e14340acdd:/roles/ucl.rb diff --git a/roles/ucl.rb b/roles/ucl.rb index f3a030595..a0f5331f4 100644 --- a/roles/ucl.rb +++ b/roles/ucl.rb @@ -8,7 +8,10 @@ default_attributes( :internal => { :inet => { :prefix => "20", - :gateway => "10.0.0.3" + :gateway => "10.0.0.3", + :routes => { + "10.0.0.0/8" => { :via => "10.0.0.3" } + } } }, :external => { @@ -18,17 +21,20 @@ default_attributes( :gateway => "193.60.236.254" } } + }, + :wireguard => { + :keepalive => 180 } } ) override_attributes( :networking => { - :nameservers => ["10.0.0.3", "8.8.8.8", "8.8.4.4"], + :nameservers => ["10.0.0.3", "1.1.1.1", "1.0.0.1"], :search => ["ucl.openstreetmap.org", "openstreetmap.org"] }, :ntp => { - :servers => ["0.uk.pool.ntp.org", "1.uk.pool.ntp.org", "europe.pool.ntp.org"] + :servers => ["ntp1.ucl.ac.uk", "ntp2.ucl.ac.uk"] } )