Skip to content

Commit

Permalink
collection: Ensure apt Performs An Update
Browse files Browse the repository at this point in the history
When attempting to install a package on `apt` based images, we were
missing an `apt update` which improves the user experience.
Tools such as `virt-customize` perform an update before every
installation invocation.

Bump version to `1.1.4`.

Resolves #7.
  • Loading branch information
vkhitrin committed Jan 6, 2024
1 parent 841c5ae commit 4cb3966
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: vkhitrin
name: libguestfs
version: 1.1.3
version: 1.1.4
readme: README.md
authors:
- Vadim Khitrin <me@vkhitrin>
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/guestfs_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
PACKAGE_MANAGERS = {
'dnf': {'present': 'dnf -y install', 'absent': 'dnf -y remove'},
'yum': {'present': 'yum -y install', 'absent': 'yum -y remove'},
'apt': {'present': 'apt-get -y install', 'absent': 'apt-get -y remove'}
'apt': {'present': 'apt-get -q -y -o Dpkg::Options::=--force-confnew update; apt-get -y install', 'absent': 'apt-get -y remove'}
}


Expand Down

0 comments on commit 4cb3966

Please sign in to comment.