mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-29 13:00:03 +00:00
Fixes for issues in genesis addons
This commit is contained in:
parent
9c758dafbf
commit
2132ae7003
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user