From d6642f1bde9c1ebbae59f82465e94e3f516ceffd Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 15 Dec 2020 12:51:16 -0500 Subject: [PATCH] Fix omitted directory for firstboot firstboot being in /opt requires a mkdir --- confluent_osdeploy/el8/profiles/default/kickstart | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_osdeploy/el8/profiles/default/kickstart b/confluent_osdeploy/el8/profiles/default/kickstart index b4353dcf..63b56ce6 100644 --- a/confluent_osdeploy/el8/profiles/default/kickstart +++ b/confluent_osdeploy/el8/profiles/default/kickstart @@ -67,6 +67,7 @@ curl -f https://$mgr/confluent-public/os/$profile/scripts/prechroot.sh > /tmp/po # Hook firstboot.sh curl -f https://$mgr/confluent-public/os/$profile/scripts/firstboot.service > /mnt/sysimage/etc/systemd/system/firstboot.service +mkdir -p /mnt/sysimage/opt/confluent/bin curl -f https://$mgr/confluent-public/os/$profile/scripts/firstboot.sh > /mnt/sysimage/opt/confluent/bin/firstboot.sh chmod +x /mnt/sysimage/opt/confluent/bin/firstboot.sh %end