Skip to content

Commit

Permalink
force Vagrant to use the "new" API URL
Browse files Browse the repository at this point in the history
It seems Vagrant has introduced a new API and their proprietary client
does use that by default now, so they turned off the old one (or the
redirect, I really have no idea what was there last week).

Just setting the new URL (which I found out by using `vagrant --debug`)
as the server URL works for now, so let's do that, and at least unblock
nightlies.
  • Loading branch information
evgeni committed Jan 13, 2025
1 parent e7a0f21 commit 9d70932
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/forklift/tasks/up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
command: "vagrant up --no-parallel {{ forklift_boxes.keys()|join(' ') }}"
args:
chdir: "{{ forklift_directory }}"
environment:
VAGRANT_SERVER_URL: https://vagrantcloud.com/api/v2/vagrant
always:
- name: Remove lock file
ansible.builtin.file:
Expand Down
10 changes: 10 additions & 0 deletions vagrant/boxes.d/00-centos.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
boxes:
centos8-stream:
box_name: 'centos/stream8'
disk_size: 40
libvirt: https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-Vagrant-8-latest.x86_64.vagrant-libvirt.box
virtualbox: https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-Vagrant-8-latest.x86_64.vagrant-virtualbox.box
pty: true
scenarios:
- foreman
- katello

centos9-stream:
box_name: 'centos/stream9'
disk_size: 40
Expand Down

0 comments on commit 9d70932

Please sign in to comment.