mirror of
https://github.com/khuedoan/homelab.git
synced 2025-02-25 22:18:53 +07:00
Use variable for timezone
This commit is contained in:
parent
812de88d03
commit
ef7e613aee
@ -3,5 +3,6 @@
|
||||
- [(feature) Add lint checks for everything](../Makefile#L29)
|
||||
- [(feature) Simple script to backup everything](../scripts/backup.sh#L3)
|
||||
- [(feature) Simple script to restore everything](../scripts/restore.sh#L3)
|
||||
- [(optimize) Get timezone automatically from the controller](../metal/roles/pxe-boot/defaults/main.yml#L7)
|
||||
- [(optimize) Use metal values for MetalLB values](../apps/resources/metallb.yaml#L23)
|
||||
- [(optimize) Use reflector to generate mirrorlist dynamically](../tools/Dockerfile#L3)
|
||||
|
@ -4,3 +4,5 @@ iso_file_name: "fedora-coreos-34.20210518.3.0-live.x86_64.iso"
|
||||
|
||||
os_username: admin
|
||||
os_name: CoreOS
|
||||
# TODO (optimize) Get timezone automatically from the controller
|
||||
timezone: Asia/Ho_Chi_Minh
|
||||
|
@ -17,4 +17,4 @@ storage:
|
||||
# Set timezone
|
||||
links:
|
||||
- path: /etc/localtime
|
||||
target: ../usr/share/zoneinfo/Asia/Ho_Chi_Minh # TODO template
|
||||
target: ../usr/share/zoneinfo/{{ timezone }}
|
||||
|
Loading…
Reference in New Issue
Block a user