]> git.openstreetmap.org Git - nominatim.git/blobdiff - Vagrantfile
enable search endpoint only when search table is available
[nominatim.git] / Vagrantfile
index 03cd0629ad1ce70da0d3a1eb95a170e65dcd3b0a..99aa84491159c81b0f3a588267652caa4ccc8d6d 100644 (file)
@@ -52,10 +52,6 @@ Vagrant.configure("2") do |config|
 
   config.vm.define "ubuntu22", primary: true do |sub|
       sub.vm.box = "generic/ubuntu2204"
 
   config.vm.define "ubuntu22", primary: true do |sub|
       sub.vm.box = "generic/ubuntu2204"
-      if RUBY_PLATFORM.include?('darwin') && RUBY_PLATFORM.include?('arm64')
-        # Apple M processor
-        sub.vm.box = 'luminositylabsllc/ubuntu-22.04-arm64'
-      end
       sub.vm.provision :shell do |s|
         s.path = "vagrant/Install-on-Ubuntu-22.sh"
         s.privileged = false
       sub.vm.provision :shell do |s|
         s.path = "vagrant/Install-on-Ubuntu-22.sh"
         s.privileged = false
@@ -83,6 +79,10 @@ Vagrant.configure("2") do |config|
 
   config.vm.define "ubuntu24" do |sub|
       sub.vm.box = "bento/ubuntu-24.04"
 
   config.vm.define "ubuntu24" do |sub|
       sub.vm.box = "bento/ubuntu-24.04"
+      if RUBY_PLATFORM.include?('darwin') && RUBY_PLATFORM.include?('arm64')
+        # Apple M processor
+        sub.vm.box = 'gutehall/ubuntu24-04'
+      end
       sub.vm.provision :shell do |s|
         s.path = "vagrant/Install-on-Ubuntu-24.sh"
         s.privileged = false
       sub.vm.provision :shell do |s|
         s.path = "vagrant/Install-on-Ubuntu-24.sh"
         s.privileged = false