Skip to content

Commit

Permalink
WIP attempt to fix Vagrant CI failures
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbrictson committed Nov 18, 2023
1 parent a47731d commit 0950025
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:

functional:
runs-on: macos-12
env:
VAGRANT_DISABLE_VBOXSYMLINKCREATE: "1"
strategy:
matrix:
ruby:
Expand Down
13 changes: 11 additions & 2 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = 'bento/ubuntu-22.10'

config.vm.box = 'debian/bullseye64'
config.vm.box_version = '11.20220328.1'
config.vm.boot_timeout = 600 # seconds
config.vm.provider 'virtualbox' do |vb|
vb.memory = '4096'
vb.cpus = '2'

# https://github.com/hashicorp/vagrant/issues/11777#issuecomment-661076612
vb.customize ['modifyvm', :id, '--uart1', '0x3F8', '4']
vb.customize ['modifyvm', :id, '--uartmode1', 'file', File::NULL]
end

config.ssh.insert_key = false
config.vm.provision "shell", inline: <<-SHELL
echo 'ClientAliveInterval 3' >> /etc/ssh/sshd_config
Expand Down

0 comments on commit 0950025

Please sign in to comment.