Skip to content

Commit

Permalink
Merge pull request #8126 from OpenMined/rasswanth/arm_changes
Browse files Browse the repository at this point in the history
Remaining ARM Changes
  • Loading branch information
rasswanth-s authored Oct 4, 2023
2 parents c17e54c + 91397de commit 317dd51
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions packages/grid/vagrant/almalinux_9/arm_64/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,27 @@ Vagrant.configure("2") do |config|
vd.cpus = "2"
end

config.vm.box_check_update = false

config.vm.provision "shell", inline: <<-SHELL
#!/bin/bash
echo "Hello from the inline Bash script!"
# Flush existing rules
iptables-save > rules.v4.old
iptables -F
# Set the default policies to DROP
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT
# Allow incoming SSH traffic
iptables -A INPUT -p tcp --dport 22 -j ACCEPT
# Save the rules so they persist across reboots
iptables-save > rules.v4.new
pwd
SHELL

end
2 changes: 1 addition & 1 deletion packages/grid/vagrant/almalinux_9/x86_64/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Vagrant.configure("2") do |config|
vd.memory = "4096"
vd.cpus = "2"
end

config.vm.box_check_update = false

config.vm.provision "shell", inline: <<-SHELL
#!/bin/bash
Expand Down

0 comments on commit 317dd51

Please sign in to comment.