Skip to content

Commit

Permalink
feat(ubuntu-22.04): use updated qemu package name [skip ci]
Browse files Browse the repository at this point in the history
```
Note, selecting 'qemu-system-x86' instead of 'qemu-kvm'
```
  • Loading branch information
myii committed May 10, 2022
1 parent 32436b4 commit 9a4abe6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions libvirt/parameters/osfinger/Ubuntu-22.04.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
# vim: ft=yaml
#
# Setup variables specific to salt['config.get']('osfinger') == Ubuntu-22.04.
# You just need to add the key:values for this `osfinger` that differ
# from `defaults.yaml`.
#
# If you do not need to provide defaults via the `osfinger` config,
# you can remove this file or provide at least an empty dict, e.g.
# values: {}
---
values:
qemu_pkg: qemu-system-x86
...
2 changes: 2 additions & 0 deletions test/integration/share/libraries/libvirt_packages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ def build_centos_packages

def build_ubuntu_packages
case inspec.system.platform[:release]
when /^22/
{ 'qemu' => ['qemu-system-x86'] }
when /^16/
{ 'libvirt' => ['libvirt-bin'] }
else
Expand Down

0 comments on commit 9a4abe6

Please sign in to comment.