mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
58ee85f39e
The comment based hook is destroyed during early install process. Use python to manipulate the autoinstall file in a more sophisticated way. Also refactor the initramfs hook material to be standalone files.
18 lines
321 B
Plaintext
18 lines
321 B
Plaintext
#cloud-config
|
|
autoinstall:
|
|
version: 1
|
|
early-commands:
|
|
- /custom-installation/pre.sh
|
|
late-commands:
|
|
- /custom-installation/post.sh
|
|
ssh:
|
|
install-server: true
|
|
storage:
|
|
layout:
|
|
name: lvm
|
|
match:
|
|
path: "%%INSTALLDISK%%"
|
|
user-data:
|
|
runcmd:
|
|
- /etc/confluent/firstboot.sh
|