From 0239dd5648b5e1b70671e8e30a0b8a3f5bcba253 Mon Sep 17 00:00:00 2001 From: clime Date: Sat, 11 Feb 2017 16:07:10 +0100 Subject: [PATCH] Vagrantfile update --- Vagrantfile | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index c3d6844..c042fdf 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -18,11 +18,16 @@ Vagrant.configure(2) do |config| inline: "dnf clean all && sudo dnf -y update || true" # || true cause dnf might return non-zero status (probly delta rpm rebuilt failed) distgit.vm.provision "shell", - inline: "dnf builddep -y /vagrant/dist-git.spec", - run: "always" + inline: "dnf install -y tito wget" distgit.vm.provision "shell", - inline: "dnf install -y tito wget", + inline: "useradd clime -G packager" + + distgit.vm.provision "shell", + inline: "echo 'clime ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers" + + distgit.vm.provision "shell", + inline: "dnf builddep -y /vagrant/dist-git.spec", run: "always" distgit.vm.provision "shell", @@ -61,13 +66,5 @@ Vagrant.configure(2) do |config| inline: "systemctl enable httpd && systemctl start httpd", run: "always" - distgit.vm.provision "shell", - inline: "useradd clime -G packager", - run: "always" - - distgit.vm.provision "shell", - inline: "echo 'clime ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers", - run: "always" - end end