From 924102fa3232790c5b17f2b6e3c01be1fed3c65e Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 1 May 2020 16:47:07 -0400 Subject: [PATCH] Add the cloud-init script Still needs storage section, but surprisingly not going to use much of this and instead lean in on the scripts. --- misc/ubuntu20.04deploy/autoinstall/meta-data | 0 misc/ubuntu20.04deploy/autoinstall/user-data | 12 ++++++++++++ 2 files changed, 12 insertions(+) create mode 100644 misc/ubuntu20.04deploy/autoinstall/meta-data create mode 100644 misc/ubuntu20.04deploy/autoinstall/user-data diff --git a/misc/ubuntu20.04deploy/autoinstall/meta-data b/misc/ubuntu20.04deploy/autoinstall/meta-data new file mode 100644 index 00000000..e69de29b diff --git a/misc/ubuntu20.04deploy/autoinstall/user-data b/misc/ubuntu20.04deploy/autoinstall/user-data new file mode 100644 index 00000000..fc38b221 --- /dev/null +++ b/misc/ubuntu20.04deploy/autoinstall/user-data @@ -0,0 +1,12 @@ +#cloud-config +autoinstall: + version: 1 + early-commands: + - /custom-installation/pre.sh + late-commands: + - /custom-installation/post.sh + ssh: + install-server: true + user-data: + runcmd: + - /etc/confluent/firstboot.sh