this might work

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-10-10 17:31:25 -05:00
parent 9e6f58a8f9
commit 7e89b1e50e
1 changed files with 34 additions and 1 deletions

View File

@ -13,7 +13,7 @@ all:
make create
tag:
git tag -m 'first tag' v0.0.1
git tag -m 'maybe works' v0.0.2
git push --tags
make-ca-private-key:
@ -67,8 +67,41 @@ farm02:
cp /etc/pki/CA/farm02_client_certificate.pem /etc/pki/libvirt/clientcert.pem
cp /etc/pki/CA/farm02_client_key.pem /etc/pki/libvirt/private/clientkey.pem
farm03:
cp /etc/pki/CA/certificate_authority_certificate.pem /etc/pki/CA/cacert.pem
mkdir -p /etc/pki/libvirt/private/
cp /etc/pki/CA/farm03_server_certificate.pem /etc/pki/libvirt/servercert.pem
cp /etc/pki/CA/farm03_server_key.pem /etc/pki/libvirt/private/serverkey.pem
cp /etc/pki/CA/farm03_client_certificate.pem /etc/pki/libvirt/clientcert.pem
cp /etc/pki/CA/farm03_client_key.pem /etc/pki/libvirt/private/clientkey.pem
farm04:
cp /etc/pki/CA/certificate_authority_certificate.pem /etc/pki/CA/cacert.pem
mkdir -p /etc/pki/libvirt/private/
cp /etc/pki/CA/farm04_server_certificate.pem /etc/pki/libvirt/servercert.pem
cp /etc/pki/CA/farm04_server_key.pem /etc/pki/libvirt/private/serverkey.pem
cp /etc/pki/CA/farm04_client_certificate.pem /etc/pki/libvirt/clientcert.pem
cp /etc/pki/CA/farm04_client_key.pem /etc/pki/libvirt/private/clientkey.pem
farm05:
cp /etc/pki/CA/certificate_authority_certificate.pem /etc/pki/CA/cacert.pem
mkdir -p /etc/pki/libvirt/private/
cp /etc/pki/CA/farm05_server_certificate.pem /etc/pki/libvirt/servercert.pem
cp /etc/pki/CA/farm05_server_key.pem /etc/pki/libvirt/private/serverkey.pem
cp /etc/pki/CA/farm05_client_certificate.pem /etc/pki/libvirt/clientcert.pem
cp /etc/pki/CA/farm05_client_key.pem /etc/pki/libvirt/private/clientkey.pem
list-farm01:
virsh -c qemu://farm01/system list
list-farm02:
virsh -c qemu://farm02/system list
list-farm03:
virsh -c qemu://farm03/system list
list-farm04:
virsh -c qemu://farm04/system list
list-farm05:
virsh -c qemu://farm05/system list