2023-11-14 21:52:09 +02:00
|
|
|
all:
|
|
|
|
echo OK
|
|
|
|
|
|
|
|
rhel:
|
|
|
|
cp -fv user-data-rhel user-data
|
|
|
|
cp -fv meta-data-rhel meta-data
|
2023-11-14 22:32:21 +02:00
|
|
|
bash gen-hostname-and-instance-id.sh
|
2023-11-14 21:52:09 +02:00
|
|
|
bash ./build.sh rhel-master-init.iso
|
|
|
|
|
|
|
|
deploy-rhel:
|
|
|
|
cp -fv rhel-master-init.iso ./isos/
|
|
|
|
|
2023-11-14 22:32:21 +02:00
|
|
|
|
|
|
|
rocky:
|
|
|
|
cp -fv user-data-rocky user-data
|
|
|
|
cp -fv meta-data-rocky meta-data
|
|
|
|
bash gen-hostname-and-instance-id.sh
|
|
|
|
bash ./build.sh rocky-master-init.iso
|
|
|
|
|
|
|
|
deploy-rocky:
|
|
|
|
cp -fv rocky-master-init.iso ./isos/
|
|
|
|
|
|
|
|
|
|
|
|
alma:
|
|
|
|
cp -fv user-data-alma user-data
|
|
|
|
cp -fv meta-data-alma meta-data
|
|
|
|
bash gen-hostname-and-instance-id.sh
|
|
|
|
bash ./build.sh alma-master-init.iso
|
|
|
|
|
|
|
|
deploy-alma:
|
|
|
|
cp -fv alma-master-init.iso ./isos/
|
|
|
|
|
2023-11-14 21:52:09 +02:00
|
|
|
debian:
|
|
|
|
cp -fv user-data-debian user-data
|
|
|
|
cp -fv meta-data-debian meta-data
|
2023-11-14 22:32:21 +02:00
|
|
|
bash gen-hostname-and-instance-id.sh
|
2023-11-14 21:52:09 +02:00
|
|
|
bash ./build.sh debian-master-init.iso
|
|
|
|
|
|
|
|
deploy-debian:
|
|
|
|
cp -fv debian-master-init.iso ./isos/
|
|
|
|
|
|
|
|
ubuntu:
|
|
|
|
cp -fv user-data-ubuntu user-data
|
|
|
|
cp -fv meta-data-ubuntu meta-data
|
2023-11-14 22:32:21 +02:00
|
|
|
bash gen-hostname-and-instance-id.sh
|
2023-11-14 21:52:09 +02:00
|
|
|
bash ./build.sh ubuntu-master-init.iso
|
|
|
|
|
|
|
|
deploy-ubuntu:
|
|
|
|
cp -fv ubuntu-master-init.iso ./isos/
|
|
|
|
|
2023-11-14 22:32:21 +02:00
|
|
|
install-depencies-ubuntu:
|
|
|
|
apt update
|
|
|
|
apt install -y ruby genisoimage cloud-init
|