Skip to content

Commit

Permalink
Merge pull request #61 from MohdWaquar/update-linux-kernal
Browse files Browse the repository at this point in the history
Update linux kernal parameters and install packages
  • Loading branch information
DimpleRajaVamsi authored Aug 7, 2023
2 parents 243eea4 + ee0f31b commit bcf2d76
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
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

0 comments on commit bcf2d76

Please sign in to comment.