mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 15:02:54 +00:00
Vagrantfile: add user when group packager already exists
This commit is contained in:
parent
0239dd5648
commit
eb8b00351f
1 changed files with 6 additions and 6 deletions
12
Vagrantfile
vendored
12
Vagrantfile
vendored
|
@ -20,12 +20,6 @@ Vagrant.configure(2) do |config|
|
|||
distgit.vm.provision "shell",
|
||||
inline: "dnf install -y tito wget"
|
||||
|
||||
distgit.vm.provision "shell",
|
||||
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"
|
||||
|
@ -66,5 +60,11 @@ Vagrant.configure(2) do |config|
|
|||
inline: "systemctl enable httpd && systemctl start httpd",
|
||||
run: "always"
|
||||
|
||||
distgit.vm.provision "shell",
|
||||
inline: "useradd clime -G packager"
|
||||
|
||||
distgit.vm.provision "shell",
|
||||
inline: "echo 'clime ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers"
|
||||
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue