Skip to content

Commit 95fe6f9

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents fdf28b4 + 4914ec0 commit 95fe6f9

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

cloud-config.yaml

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#cloud-config
2-
hostname: plural-edge-{{ trunc 10 .MachineID }}
2+
hostname: plural-{{ trunc 10 .MachineID }}
33

44
users:
55
- name: @USERNAME@
@@ -20,13 +20,18 @@ write_files:
2020
permissions: "0644"
2121
content: |
2222
mirrors:
23-
"*":
23+
"*":
24+
# TODO: Enable once it will be fixed.
25+
# - path: /etc/plural-id
26+
# permissions: "0644"
27+
# content: |
28+
# {{ uuidv4 }}
2429

2530
k3s:
2631
enabled: true
2732
replace_args: true
2833
args:
29-
- --node-name=kairos
34+
- --node-name=plural-{{ trunc 10 .MachineID }}
3035
- --embedded-registry
3136
- --disable=traefik,servicelb
3237

images/plural-bundle/run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ for FILE in assets/*; do
7070
templ "BASE_IMAGE" "${BASE_IMAGE}" "${FILE}"
7171
templ "TOKEN" "${TOKEN}" "${FILE}"
7272
templ "URL" "${URL}" "${FILE}"
73-
templ "CLUSTER_NAME" "${CLUSTER_NAME_PREFIX}-$(cut -c1-10 < /etc/machine-id)" "${FILE}"
73+
templ "CLUSTER_NAME" "${CLUSTER_NAME_PREFIX}-$(cut -c1-10 < /etc/plural-id)" "${FILE}"
7474
templ "PROJECT" "${PROJECT}" "${FILE}"
7575
templ "TAG" "${TAG}" "${FILE}"
7676
done;

plural-config.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#plural-config
12
image: quay.io/kairos/alpine:3.19-standard-arm64-rpi4-v3.2.4-k3sv1.31.3-k3s1
23
bundles:
3-
plural-bundle: ghcr.io/pluralsh/kairos-plural-bundle:0.1.4
4+
plural-bundle: ghcr.io/pluralsh/kairos-plural-bundle:0.1.4 # TODO: Use latest version once it will be fixed.
45
plural-images-bundle: ghcr.io/pluralsh/kairos-plural-images-bundle:0.1.2
56
plural-trust-manager-bundle: ghcr.io/pluralsh/kairos-plural-trust-manager-bundle:0.1.0

0 commit comments

Comments
 (0)