mirror of
https://github.com/coder/coder.git
synced 2025-07-21 01:28:49 +00:00
This PR makes templates uses the [hashicorp/cloud-init](https://registry.terraform.io/providers/hashicorp/cloudinit/latest/docs) provider instead of hardcoding a cloud-init config.
16 lines
327 B
Plaintext
16 lines
327 B
Plaintext
#cloud-config
|
|
cloud_final_modules:
|
|
- [scripts-user, always]
|
|
hostname: ${hostname}
|
|
users:
|
|
- name: ${linux_user}
|
|
sudo: ALL=(ALL) NOPASSWD:ALL
|
|
shell: /bin/bash
|
|
ssh_authorized_keys:
|
|
- "${ssh_pubkey}"
|
|
# Automatically grow the partition
|
|
growpart:
|
|
mode: auto
|
|
devices: ['/']
|
|
ignore_growroot_disabled: false
|