Skip to content

Commit

Permalink
Merge pull request #176 from KVM-VMI/vagrant/fix_grub
Browse files Browse the repository at this point in the history
vagrant: update box to fix grub-pc dpkg issue
  • Loading branch information
Wenzel authored Jun 29, 2024
2 parents 774d3f4 + f8f8ffa commit d34f5f2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vagrant/Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
require 'rubygems'

Vagrant.configure(2) do |config|
config.vm.box = "generic/debian10"
config.vm.box_version = "4.2.8"
config.vm.box = "generic/debian12"
config.vm.box_version = "4.3.12"
config.vm.define "kvmi"

# configuration
Expand Down Expand Up @@ -114,7 +114,7 @@ Vagrant.configure(2) do |config|
# set stdout_callback = yaml to improve error output
# note: problem with \1yaml -> \x01yaml in ansible.cfg
config.vm.provision "shell",
inline: "apt-get install -y ansible && sed -i -E 's/^#?(stdout_callback\s*=\s*).*$/stdout_callback = yaml/' /etc/ansible/ansible.cfg"
inline: "apt-get install -y ansible && mkdir -p /etc/ansible && echo -e '[defaults]\nstdout_callback = yaml' > /etc/ansible/ansible.cfg"

config.vm.provision "ansible_local" do |ansible|
# debug
Expand Down

0 comments on commit d34f5f2

Please sign in to comment.