From 4f6d6cf5eb87ba4e7f05e7840e4ce8dfabec9b23 Mon Sep 17 00:00:00 2001 From: Magnus Andersson Date: Mon, 15 Jan 2024 20:40:17 +0100 Subject: [PATCH] Add snap volume to instance and remove duplicated keys --- kubenodes.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubenodes.yaml b/kubenodes.yaml index 1b61243..4f79708 100644 --- a/kubenodes.yaml +++ b/kubenodes.yaml @@ -5,7 +5,6 @@ size: 30 image: debian-12 is_bootable: true - state: present name: kube{{ item }}-matrix-test-sunet-se-osvol loop: "{{ range(1,4)|list }}" @@ -14,7 +13,6 @@ state: present size: 20 is_bootable: false - state: present name: kube{{ item }}-matrix-test-sunet-se-snapvol loop: "{{ range(1,4)|list }}" @@ -40,6 +38,8 @@ flavor: b2.c4r16 key_name: manderssonpub boot_volume: kube{{ item }}-matrix-test-sunet-se-osvol + volumes: + - "kube{{ item }}-matrix-test-sunet-se-snapvol" nics: - port-name: "kube{{ item }}-matrix-test-sunet-se-port" userdata: |