Skip to content

Commit

Permalink
use default ubuntu 22.04 (#120)
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Paskal <[email protected]>
  • Loading branch information
maksim-paskal authored Jun 28, 2024
1 parent 049781d commit 471b5bb
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ install:
sudo mv /tmp/hcloud-k8s-ctl /usr/local/bin/hcloud-k8s-ctl

ubuntu-versions:
docker run -v `pwd`:/app -it ubuntu:20.04 /app/scripts/ubuntu-versions.sh
docker run -v `pwd`:/app -it ubuntu:22.04 /app/scripts/ubuntu-versions.sh
2 changes: 1 addition & 1 deletion config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ipRange: "10.0.0.0/16"
masterCount: 3
serverComponents:
ubuntu:
version: ubuntu-24.04
version: ubuntu-22.04
# files for custom install
# masterServers:
# serversinitparams:
Expand Down
2 changes: 1 addition & 1 deletion e2e/configs/full.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
clusterName: k8s
serverComponents:
ubuntu:
version: ubuntu-24.04
version: ubuntu-20.04
username: hcloud-user
architecture: x86
kubernetes:
Expand Down
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func defaultConfig() Type {
HetznerToken: os.Getenv("HCLOUD_TOKEN"),
ServerComponents: serverComponents{
Ubuntu: serverComponentUbuntu{
Version: "ubuntu-20.04",
Version: "ubuntu-22.04",
UserName: "hcloud-user",
Architecture: hcloud.ArchitectureX86, // x86 or arm
},
Expand Down
2 changes: 1 addition & 1 deletion scripts/common-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ EOF

# restart sshd to apply new config
sshd -t
systemctl restart sshd.service
systemctl restart ssh.service

# disable swap
swapoff -a
Expand Down

0 comments on commit 471b5bb

Please sign in to comment.