@@ -3,11 +3,9 @@ Vagrant.configure("2") do |config|
33 # Define first Kafka node
44 config . vm . define "kafka_node_01" do |kafka_node_01 |
55 kafka_node_01 . vm . synced_folder "./vagrant" , "/vagrant"
6- #kafka_node_01.vm.box = "ol7-latest"
7- kafka_node_01 . vm . box = "ol74"
6+ kafka_node_01 . vm . box = "ol7-latest"
87 kafka_node_01 . vm . hostname = 'kafka-node-01'
9- #kafka_node_01.vm.box_url = "https://yum.oracle.com/boxes/oraclelinux/latest/ol7-latest.box"
10- kafka_node_01 . vm . box_url = "http://yum.oracle.com/boxes/oraclelinux/ol74/ol74.box"
8+ kafka_node_01 . vm . box_url = "https://yum.oracle.com/boxes/oraclelinux/latest/ol7-latest.box"
119 kafka_node_01 . vm . network :"private_network" , type : "dhcp"
1210 kafka_node_01 . vm . network "forwarded_port" , guest : 9092 , host : 9092 , protocol : "tcp"
1311 kafka_node_01 . vm . network "forwarded_port" , guest : 9021 , host : 9021 , protocol : "tcp"
@@ -30,11 +28,9 @@ Vagrant.configure("2") do |config|
3028 # Define Kafka worker node
3129 config . vm . define "kafka_workernode_01" do |kafka_workernode_01 |
3230 kafka_workernode_01 . vm . synced_folder "./vagrant" , "/vagrant"
33- #kafka_node_01.vm.box = "ol7-latest"
34- kafka_workernode_01 . vm . box = "ol74"
31+ kafka_workernode_01 . vm . box = "ol7-latest"
3532 kafka_workernode_01 . vm . hostname = 'kafka-workernode-01'
36- #kafka_node_01.vm.box_url = "https://yum.oracle.com/boxes/oraclelinux/latest/ol7-latest.box"
37- kafka_workernode_01 . vm . box_url = "http://yum.oracle.com/boxes/oraclelinux/ol74/ol74.box"
33+ kafka_workernode_01 . vm . box_url = "https://yum.oracle.com/boxes/oraclelinux/latest/ol7-latest.box"
3834 kafka_workernode_01 . vm . network :"private_network" , type : "dhcp"
3935 kafka_workernode_01 . vm . network "forwarded_port" , guest : 3309 , host : 3309 , protocol : "tcp"
4036 kafka_workernode_01 . vm . provider :virtualbox do |v |
0 commit comments