Added alpine no-cloud

This commit is contained in:
root 2024-07-15 22:19:52 +00:00
parent 25cb6f26be
commit 9429084a98
3 changed files with 31 additions and 0 deletions

View File

@ -5,6 +5,10 @@ install-dependencies-ubuntu:
apt update
apt install -y ruby genisoimage cloud-init
install-dependencies-debian:
apt update
apt install -y ruby genisoimage cloud-init
install-dependencies-rhel:
dnf install ruby genisoimage -y
@ -54,5 +58,12 @@ ubuntu:
deploy-ubuntu:
cp -fv ubuntu-master-init.iso ./isos/
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
deploy-alpine:
cp -fv alpine-master-init.iso ./isos/

View File

@ -0,0 +1 @@
local-hostname: alpine

View File

@ -0,0 +1,19 @@
#cloud-config
package_update: false
package_upgrade: false
package_reboot_if_required: false
#package_reboot: true
ssh_pwauth: true
password: ###PASSWORD###
ssh_authorized_keys:
- ###SSH_KEY_1###
- ###SSH_KEY_2###
- ###SSH_KEY_3###
chpasswd:
expire: false
users:
- default