Skip to content

Commit

Permalink
use working image in Vagrantfile
Browse files Browse the repository at this point in the history
  • Loading branch information
cfasnacht committed Oct 26, 2023
1 parent b173de8 commit 3d792cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ systemctl restart sshd
useradd ansible
SCRIPT
Vagrant.configure("2") do |config|
# rockylinux/8 is broken does not boot
config.vm.box = "bento/rockylinux-8"

config.vm.define "control" do |control|
control.vm.box = "rockylinux/8"
control.vm.hostname = "control"
control.vm.network "private_network", ip: "192.168.122.30"
control.vm.provision "shell",
inline: $script
end
config.vm.define "node1" do |node1|
node1.vm.box = "rockylinux/8"
node1.vm.hostname = "node1"
node1.vm.network "private_network", ip: "192.168.122.31"
node1.vm.provision "shell",
inline: $script
end
config.vm.define "node2" do |node2|
node2.vm.box = "rockylinux/8"
node2.vm.hostname = "node2"
node2.vm.network "private_network", ip: "192.168.122.32"
node2.vm.provision "shell",
Expand Down

0 comments on commit 3d792cb

Please sign in to comment.