From b28dc5b7003bff17d46767172df531b6a095fdd8 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:42:28 -0400 Subject: [PATCH] Add clusters.yml to setup --- clusters.yml | 9 +++++++++ create-local-repo.sh | 1 + 2 files changed, 10 insertions(+) create mode 100644 clusters.yml diff --git a/clusters.yml b/clusters.yml new file mode 100644 index 0000000..f2959a3 --- /dev/null +++ b/clusters.yml @@ -0,0 +1,9 @@ +--- +# clusters.yml +# This file defines a list of Clusters that pvcbootstrapd should be aware of. +# This file is OPTIONAL unless you use pvcbootstrapd. It should contain, in the +# "clusters" list, all cluster names for which a "bootstrap.yml" is configured. + +clusters: +# - cluster1 +# - cluster2 diff --git a/create-local-repo.sh b/create-local-repo.sh index c0b7ccb..5f948ea 100755 --- a/create-local-repo.sh +++ b/create-local-repo.sh @@ -30,6 +30,7 @@ ln -s ../pvc-ansible/roles/base roles/base ln -s ../pvc-ansible/roles/pvc roles/pvc ln -s files ceph cp pvc-ansible/pvc.yml . +cp pvc-ansible/clusters.yml . touch hosts cat <update-remote.sh #!/usr/bin/env bash