From 0960a237655e888318113afafad4412fab196b0c Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 11 Aug 2020 11:17:46 -0400 Subject: [PATCH] Change location of rungenesis The bin as a directory conflicts with bin as a symlink, keep to opt to avoid the whole mess --- .../genesis/initramfs/{ => opt/confluent}/bin/rungenesis | 0 .../initramfs/usr/lib/dracut/hooks/cmdline/10-genesis.sh | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename confluent_osdeploy/genesis/initramfs/{ => opt/confluent}/bin/rungenesis (100%) diff --git a/confluent_osdeploy/genesis/initramfs/bin/rungenesis b/confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis similarity index 100% rename from confluent_osdeploy/genesis/initramfs/bin/rungenesis rename to confluent_osdeploy/genesis/initramfs/opt/confluent/bin/rungenesis diff --git a/confluent_osdeploy/genesis/initramfs/usr/lib/dracut/hooks/cmdline/10-genesis.sh b/confluent_osdeploy/genesis/initramfs/usr/lib/dracut/hooks/cmdline/10-genesis.sh index 0b739c49..c252e7c6 100644 --- a/confluent_osdeploy/genesis/initramfs/usr/lib/dracut/hooks/cmdline/10-genesis.sh +++ b/confluent_osdeploy/genesis/initramfs/usr/lib/dracut/hooks/cmdline/10-genesis.sh @@ -10,4 +10,4 @@ mkdir -p /var/empty/sshd sed -i '/^root:x/d' /etc/passwd echo root:x:0:0::/:/bin/bash >> /etc/passwd echo sshd:x:30:30:SSH User:/var/empty/sshd:/sbin/nologin >> /etc/passwd -tmux -L console new-sessiod /bin/rungenesis +tmux -L console new-sessiod /opt/confluent/bin/rungenesis