Skip to content

Commit

Permalink
Merge pull request #21 from quangln94/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
rdbreak authored Jan 3, 2022
2 parents fb2b5fe + 120e09e commit 776f771
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ config.vm.box_check_update = false
config.vm.define "repo" do |repo|
repo.vm.box = "rdbreak/rhel8repo"
# repo.vm.hostname = "repo.ansi.example.com"
repo.vm.provision :shell, :inline => "sudo rm -rf /EMPTY", run: "always"
repo.vm.provision :shell, :inline => "sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config; sudo systemctl restart sshd;", run: "always"
repo.vm.provision :shell, :inline => "yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm -y; sudo yum install -y sshpass python3-pip python3-devel httpd sshpass vsftpd createrepo", run: "always"
repo.vm.provision :shell, :inline => " python3 -m pip install -U pip ; python3 -m pip install pexpect; python3 -m pip install ansible", run: "always"
Expand Down

0 comments on commit 776f771

Please sign in to comment.