Added alpine no-cloud
This commit is contained in:
parent
25cb6f26be
commit
9429084a98
@ -5,6 +5,10 @@ install-dependencies-ubuntu:
|
|||||||
apt update
|
apt update
|
||||||
apt install -y ruby genisoimage cloud-init
|
apt install -y ruby genisoimage cloud-init
|
||||||
|
|
||||||
|
install-dependencies-debian:
|
||||||
|
apt update
|
||||||
|
apt install -y ruby genisoimage cloud-init
|
||||||
|
|
||||||
install-dependencies-rhel:
|
install-dependencies-rhel:
|
||||||
dnf install ruby genisoimage -y
|
dnf install ruby genisoimage -y
|
||||||
|
|
||||||
@ -54,5 +58,12 @@ ubuntu:
|
|||||||
|
|
||||||
deploy-ubuntu:
|
deploy-ubuntu:
|
||||||
cp -fv ubuntu-master-init.iso ./isos/
|
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/
|
||||||
|
|
||||||
|
1
gen-cloud-init/meta-data-alpine
Normal file
1
gen-cloud-init/meta-data-alpine
Normal file
@ -0,0 +1 @@
|
|||||||
|
local-hostname: alpine
|
19
gen-cloud-init/user-data-alpine
Normal file
19
gen-cloud-init/user-data-alpine
Normal 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
|
Loading…
Reference in New Issue
Block a user