Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
WIP: try libvirt
Browse files Browse the repository at this point in the history
  • Loading branch information
acj committed Nov 15, 2023
1 parent 5df8edb commit ae03389
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install Vagrant and QEMU
run: |
sudo apt-get install -qq -o=Dpkg::Use-Pty=0 moreutils
sudo chronic apt-get install -qq -o=Dpkg::Use-Pty=0 vagrant qemu-system virtualbox
sudo chronic apt-get install -qq -o=Dpkg::Use-Pty=0 vagrant qemu-system virtualbox qemu libvirt-daemon-system libvirt-clients libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev ruby-libvirt ebtables dnsmasq-base
# - name: Cache Vagrant boxes
# uses: actions/cache@v3
# with:
Expand All @@ -36,9 +36,10 @@ jobs:
rm -rf ~/.vagrant
rm -rf ~/.vagrant.d
vagrant plugin install vagrant-disksize
vagrant plugin install vagrant-qemu
vagrant plugin install vagrant-libvirt
vagrant plugin install vagrant-mutate
vagrant status
vagrant up --provider libvirt ${{ matrix.box }}
sudo vagrant up --provider libvirt ${{ matrix.box }}
- name: Package box
run: |
vagrant package ${{ matrix.box }} --output ${{ matrix.box }}.box
Expand Down
2 changes: 2 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ Vagrant.configure("2") do |config|
# #qe.qemu_dir = "/usr/share/qemu"
# qe.qemu_dir = "/opt/homebrew/opt/qemu/share/qemu"
# qe.no_daemonize = true

qe.memory = 8192
end

config.vm.boot_timeout = 600
Expand Down

0 comments on commit ae03389

Please sign in to comment.