From aaac9cbeeb4a189f21182958bd5f2ca425964711 Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Wed, 17 May 2017 09:53:23 +0200 Subject: [PATCH] vagrant: Setup Packagekit in the box Without packagekit the 'pkg' resources can not be used Signed-off-by: Julien Pivotto --- Vagrantfile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 26258d60..8e95188f 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -23,6 +23,15 @@ Vagrant.configure(2) do |config| # copied from make-deps.sh (with added git) config.vm.provision "shell", inline: "dnf install -y libvirt-devel golang golang-googlecode-tools-stringer hg git make" + # set up packagekit + config.vm.provision "shell" do |shell| + shell.inline = <<-SCRIPT + dnf install -y PackageKit + systemctl enable packagekit + systemctl start packagekit + SCRIPT + end + # set up vagrant home script = <<-SCRIPT grep -q 'mgmt\.bashrc' ~/.bashrc || echo '. ~/.mgmt.bashrc' >>~/.bashrc