Skip to content

Commit

Permalink
fix ubuntu hwe-18.04 kernel patch
Browse files Browse the repository at this point in the history
Incorporated the cloud-config from xetys#329 (comment)
  • Loading branch information
wethinkagile authored Oct 18, 2020
1 parent 0eaada8 commit a6ea798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/clustermanager/provision_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func (provisioner *NodeProvisioner) updateAndInstall() error {
}

provisioner.eventService.AddEvent(provisioner.node.Name, "installing packages")
command := fmt.Sprintf("apt-get install -y docker-ce kubelet=%s-00 kubeadm=%s-00 kubectl=%s-00 kubernetes-cni=0.7.5-00 linux-headers-$(uname -r) linux-headers-virtual",
command := fmt.Sprintf("apt-get install -y --install-recommends linux-generic-hwe-18.04 && apt-get install -y docker-ce kubelet=%s-00 kubeadm=%s-00 kubectl=%s-00 kubernetes-cni=0.7.5-00 linux-headers-$(uname -r) linux-headers-virtual wireguard-tools wireguard wireguard-dkms && modprobe wireguard",
provisioner.kubernetesVersion, provisioner.kubernetesVersion, provisioner.kubernetesVersion)
_, err = provisioner.communicator.RunCmd(provisioner.node, command)
if err != nil {
Expand Down

0 comments on commit a6ea798

Please sign in to comment.