Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update linux kernal parameters and install packages #61

Merged
merged 1 commit into from
Aug 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions goss/goss-kernel-params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,12 @@ kernel-param:
value: "1"
net.bridge.bridge-nf-call-ip6tables:
value: "1"
{{if eq .Vars.OS "photon-3"}}
{{if and (contains "1.24" .Vars.kubernetes_version ) (contains "photon" .Vars.OS )}}
net.ipv4.ip_forward:
value: "0"
net.ipv6.conf.all.forwarding:
value: "0"
net.ipv4.tcp_congestion_control:
value: "cubic"
{{end}}
{{if eq .Vars.OS "ubuntu-2004-efi"}}
{{else}}
net.ipv4.ip_forward:
value: "1"
net.ipv6.conf.all.forwarding:
Expand Down
3 changes: 2 additions & 1 deletion goss/goss-vars.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ tkg:
iproute2:
util-linux:
kmod:
linux-esx:
linux:
linux-devel:
iptables:
Linux-PAM:
systemd:
Expand Down
2 changes: 1 addition & 1 deletion packer-variables/default-args.j2
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
{# Update the required packer based on the OS consumption #}
{% if os_type == "photon-3" %}
"distro_version": "3.0",
"extra_rpms": "glibc zlib filesystem ethtool pkg-config bash bzip2 shadow procps-ng iana-etc coreutils bc libtool findutils xz iproute2 util-linux kmod linux-esx iptables Linux-PAM systemd dbus file e2fsprogs rpm gawk cloud-utils gptfdisk nfs-utils openssh gdbm photon-release photon-repos haveged sed grep cpio gzip vim libdb tdnf less iputils bindutils diffutils bridge-utils cri-tools apparmor-utils apparmor-profiles krb5 which tzdata motd sudo iotop lsof traceroute ethtool dstat ltrace ipset netcat tcpdump wget"
"extra_rpms": "glibc zlib filesystem ethtool pkg-config bash bzip2 shadow procps-ng iana-etc coreutils bc libtool findutils xz iproute2 util-linux kmod linux linux-devel iptables Linux-PAM systemd dbus file e2fsprogs rpm gawk cloud-utils gptfdisk nfs-utils openssh gdbm photon-release photon-repos haveged sed grep cpio gzip vim libdb tdnf less iputils bindutils diffutils bridge-utils cri-tools apparmor-utils apparmor-profiles krb5 which tzdata motd sudo iotop lsof traceroute ethtool dstat ltrace ipset netcat tcpdump wget net-tools curl tar open-vm-tools libseccomp cloud-init sysstat jq conntrack"
{% elif os_type == "ubuntu-2004-efi" %}
"extra_debs": "unzip iptables-persistent nfs-common",
"boot_disable_ipv6": "1"
Expand Down