From 88764c44b25e506912fdfc2d09fd393c78278c19 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 1 Jan 2022 05:06:13 -0500 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