what to modify in https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner project…
- User
what to modify in https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner project so that it deploy this iso https://github.com/kairos-io/kairos/releases/download/v2.0.3/kairos-opensuse-leap-arm-generic-v2.0.3.iso instead of the Microos snapshot generated here: https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner/blob/master/packer-template/hcloud-microos-snapshots.pkr.hcl
- Assistant
To modify the Terraform-HCloud-Kube-Hetzner project to deploy the Kairos-OpenSUSE-Leap-ARM-Generic-V2.0.3.iso, you will need to make the following changes:
-
Download the iso file from https://github.com/kairos-io/kairos/releases/download/v2.0.3/kairos-opensuse-leap-arm-generic-v2.0.3.iso and save it to the
packer-templatedirectory. -
Modify the
hcloud-microos-snapshots.pkr.hclfile in thepacker-templatedirectory to create a new Packer template file with a new name, such ashcloud-kairos-arm.pkr.hcl. -
In the new Packer template file, replace the
source_image_nameandiso_urlvariables with the name and URL of the Kairos-OpenSUSE-Leap-ARM-Generic-V2.0.3.iso file. -
Modify the
main.tffile in the root directory of the project to use the new Packer template file by changing thesourceattribute of thehcloud_imagedata source to the name of the new Packer template file.
-