You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
522 B
Cheetah
19 lines
522 B
Cheetah
3 weeks ago
|
---
|
||
|
variant: flatcar
|
||
|
version: 1.1.0
|
||
|
passwd:
|
||
|
users:
|
||
|
- name: core
|
||
|
ssh_authorized_keys: ${ssh_keys}
|
||
|
storage:
|
||
|
files:
|
||
|
- path: /home/core/works
|
||
|
mode: 0755
|
||
|
contents:
|
||
|
inline: |
|
||
|
#!/bin/bash
|
||
|
set -euo pipefail
|
||
|
# This script demonstrates how templating and variable substitution works when using Terraform templates for Container Linux Configs.
|
||
|
hostname="$(hostname)"
|
||
|
echo My name is ${name} and the hostname is $${hostname} and this is updated!
|