disk-from-cloud-image/gen-cloud-init/Makefile

79 lines
1.7 KiB
Makefile
Raw Normal View History

2023-11-14 21:52:09 +02:00
all:
echo OK
2024-01-08 09:48:34 +02:00
install-dependencies-ubuntu:
apt update
apt install -y ruby genisoimage cloud-init
2024-07-16 01:19:52 +03:00
install-dependencies-debian:
apt update
apt install -y ruby genisoimage cloud-init
2024-01-08 09:48:34 +02:00
install-dependencies-rhel:
dnf install ruby genisoimage -y
2023-11-14 21:52:09 +02:00
rhel:
cp -fv user-data-rhel user-data
cp -fv meta-data-rhel meta-data
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/
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
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
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/
2024-07-16 01:19:52 +03:00
alpine:
cp -fv user-data-alpine user-data
cp -fv meta-data-alpine meta-data
bash gen-hostname-and-instance-id.sh
bash ./build.sh alpine-master-init.iso
2023-11-14 21:52:09 +02:00
2024-07-16 01:19:52 +03:00
deploy-alpine:
cp -fv alpine-master-init.iso ./isos/
2024-01-08 09:48:34 +02:00
alpine-ovs:
cp -fv user-data-alpine-ovs user-data
cp -fv meta-data-alpine-ovs meta-data
bash gen-hostname-and-instance-id.sh
bash ./build.sh alpine-ovs-master-init.iso
deploy-alpine-ovs:
cp -fv alpine-ovs-master-init.iso ./isos/