X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/87c27947d5bd2d11abfcd33d91754edcdaf478ac..0fd66a3f0f75fd01d6d5a22570e9557158630e5a:/cookbooks/apt/recipes/default.rb diff --git a/cookbooks/apt/recipes/default.rb b/cookbooks/apt/recipes/default.rb index 198a4b88d..fc5341ec5 100644 --- a/cookbooks/apt/recipes/default.rb +++ b/cookbooks/apt/recipes/default.rb @@ -39,7 +39,7 @@ apt_update "/etc/apt/sources.list" do action :nothing end -if node[:kernel][:machine] == "x86_64" +if intel? archive_host = if node[:country] "#{node[:country]}.archive.ubuntu.com" else