mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-30 21:07:48 +00:00
f3747025ff
Switch to using firstboot mechanism as cloud-init fights us too hard on ssh keys and root password.
7 lines
349 B
Bash
Executable File
7 lines
349 B
Bash
Executable File
cp -a /root/.ssh /target/root/
|
|
mkdir -p /target/etc/confluent/ssh/sshd_config.d/
|
|
cp /custom-installation/confluent/* /target/etc/confluent/
|
|
cp -a /etc/ssh/ssh_host* /target/etc/confluent/ssh/
|
|
cp -a /etc/ssh/sshd_config.d/confluent.conf /target/etc/confluent/ssh/sshd_config.d/
|
|
cp /custom-installation/firstboot.sh /target/etc/confluent/firstboot.sh
|