2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 03:19:48 +00:00

Fixes for issues in genesis addons

This commit is contained in:
Jarrod Johnson 2020-08-11 12:08:02 -04:00
parent 9c758dafbf
commit 2132ae7003
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,5 @@
#!/bin/bash
export LANG=en_US.utf8
mkdir -p /etc/confluent
/usr/lib/systemd/systemd-udevd --daemon
udevadm trigger
@ -25,6 +26,7 @@ else
fi
(ssh-keygen -A; /usr/sbin/sshd) &
TRIES=0
touch /etc/confluent/confluent.info
while ! grep ^EXTMGRINFO: /etc/confluent/confluent.info | awk -F'|' '{print $3}' | grep 1 >& /dev/null && [ "$TRIES" -lt 15 ]; do
TRIES=$((TRIES + 1))
cd /sys/class/net

View File

@ -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 /opt/confluent/bin/rungenesis
tmux new-session sh /opt/confluent/bin/rungenesis