2023-05-08 08:15:16 +08:00
|
|
|
variant: flatcar
|
|
|
|
version: 1.0.0
|
|
|
|
|
2022-12-28 10:17:28 +08:00
|
|
|
passwd:
|
|
|
|
users:
|
|
|
|
- name: ${user_flatcar}
|
|
|
|
ssh_authorized_keys: ${ssh_keys}
|
2023-05-08 08:15:16 +08:00
|
|
|
|
2022-12-28 10:17:28 +08:00
|
|
|
storage:
|
|
|
|
files:
|
|
|
|
- path: /home/core/works
|
|
|
|
filesystem: root
|
|
|
|
mode: 0755
|
|
|
|
contents:
|
|
|
|
inline: |
|
|
|
|
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
|
|
hostname="$(hostname)"
|
2023-02-06 17:35:16 +08:00
|
|
|
echo My name is ${name} and the hostname is $${hostname}
|