Skip to content

Commit

Permalink
Merge pull request #35 from smgoller/develop
Browse files Browse the repository at this point in the history
Fixes for grub and TCP syn cookies.
  • Loading branch information
smgoller committed Jan 8, 2019
2 parents 6264f16 + f47f08e commit ac14c96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Empty file modified infrastructure/scripts/aws/image/build_image.sh 100644 → 100755
Empty file.
5 changes: 3 additions & 2 deletions infrastructure/scripts/aws/image/packer.json
Expand Up @@ -43,11 +43,12 @@
"type": "shell",
"inline": [
"sudo apt update",
"sudo apt upgrade -y",
"sudo UCF_FORCE_CONFFOLD= UCF_FORCE_CONFFNEW=YES apt upgrade -y",
"sudo apt install -y openjdk-8-jdk unzip dstat",
"sudo update-java-alternatives -s java-1.8.0-openjdk-amd64",
"sudo mv /tmp/defaults.cfg /etc/cloud/cloud.cfg.d/defaults.cfg",
"sudo sh -c \"echo 'StrictHostKeyChecking no' >> /etc/ssh/ssh_config\""
"sudo sh -c \"echo 'StrictHostKeyChecking no' >> /etc/ssh/ssh_config\"",
"sudo sh -c \"echo 'net.ipv4.tcp_syncookies = 0' >> /etc/sysctl.conf\""
]
}
]
Expand Down

0 comments on commit ac14c96

Please sign in to comment.