From ae03389fc8972964393ad1e6226be500612f5c53 Mon Sep 17 00:00:00 2001 From: Adam Jensen Date: Tue, 14 Nov 2023 21:06:01 -0500 Subject: [PATCH] WIP: try libvirt --- .github/workflows/build.yml | 7 ++++--- Vagrantfile | 2 ++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dc3bc2e..fea2e1b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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: @@ -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 diff --git a/Vagrantfile b/Vagrantfile index 05f3776..139198f 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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