Skip to content

Commit

Permalink
[Vagrantfile] fix escaping for AliasMatch directive + exit with succe…
Browse files Browse the repository at this point in the history
…ss even if docker group already exists
  • Loading branch information
clime committed Sep 19, 2016
1 parent 0248af4 commit c9fe1ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ enabled_metadata=1

# ...
distgit.vm.provision "shell",
inline: "sudo groupadd docker"
inline: "sudo groupadd -f docker"

# ...
distgit.vm.provision "shell",
Expand Down Expand Up @@ -337,7 +337,6 @@ alias /lookaside /var/lib/dist-git/cache/lookaside
# ...
distgit.vm.provision "shell", inline: <<-EOF
echo \"
AliasMatch "/repo(/.*)/md5(/.*)" "/var/lib/dist-git/cache/lookaside$1$2"
Alias /repo/ /var/lib/dist-git/cache/lookaside/
\" | sudo tee /etc/httpd/conf.d/dist-git/lookaside-copr.conf
EOF
Expand Down

0 comments on commit c9fe1ac

Please sign in to comment.