Skip to content

Doc: Hetzner installation #79

Closed
Closed

Description

@kvaps

Document on how to install cozystack in Hetzner:

# Boot server to recovery mode, then:

cd /tmp/

# Download and write talos
wget https://github.com/aenix-io/cozystack/releases/download/v0.2.0/metal-amd64.raw.xz
xz -d -c /tmp/metal-amd64.raw.xz | dd of=/dev/nvme0n1 bs=4M oflag=sync

# resize gpt partition
sgdisk -e /dev/nvme0n1

# Create 20MB partition in the end of disk
end=$(sgdisk -E /dev/nvme0n1)
sgdisk -n7:$(( $end - 40960 )):$end -t7:ef00 /dev/nvme0n1

# Create fat partion for cloud-init
mkfs.vfat -n CIDATA /dev/nvme0n1p7

# Mount cloud-init partition
mount  /dev/nvme0n1p7 /mnt

# Write cloud-init configuration
echo 'local-hostname: us-talos-1' > /mnt/meta-data
echo '#cloud-config' > /mnt/user-data
echo 'version: 2' > /mnt/network-config

# Edit network metadata (see: https://github.com/kvaps/talos/blob/6142d87a0f3e0a5e4babb97667a22e2497c67b4c/internal/app/machined/pkg/runtime/v1alpha1/platform/nocloud/testdata/metadata-v2.yaml)
vim /mnt/network-config

# Umount and sync changes
umount /mnt
sync
talos-bootstrap install -n <remote-ip>

Activity

  1. kvaps commented on Apr 17, 2024

    @kvaps
    MemberAuthor
  2. moved this from In progress to Done in Cozystackon Apr 17, 2024
  3. EndLessCat commented on Jan 18, 2025

    @EndLessCat

    Hi!
    I tried to read this but got an error

    Sorry, page not found ... 🤷
    Were you looking for?
    Documentation
    Blog
    Support
    Roadmap
    Something else...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions