diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 30abf27d..d0c001ee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,9 @@ jobs: run: bundle exec rake lint functional: - runs-on: macos-12 + runs-on: macos-latest + env: + VAGRANT_DISABLE_VBOXSYMLINKCREATE: "1" strategy: matrix: ruby: diff --git a/Vagrantfile b/Vagrantfile index 13d20725..6449c845 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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