Skip to content
Snippets Groups Projects
Commit e839bfb3 authored by František Dvořák's avatar František Dvořák
Browse files

Fix cloud-init scripts merge

parent 2d8e5dcf
No related branches found
No related tags found
No related merge requests found
#cloud-config
merge_type:
- name: list
settings: [append]
- name: dict
settings: [recurse_array]
manage_etc_hosts: false
timezone: Europe/Prague
......
......@@ -43,6 +43,11 @@ data "template_cloudinit_config" "ctx" {
content = <<EOT
#cloud-config
merge_type:
- name: list
settings: [append]
- name: dict
settings: [recurse_array]
%{ if count.index != 0 ~}
fs_setup:
......@@ -72,7 +77,6 @@ users:
write_files:
- path: /home/deployadm/.ssh/id_rsa
owner: deployadm:deployadm
permissions: '0600'
content: |
${indent(6, openstack_compute_keypair_v2.localkey.private_key)~}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment