Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
hirtanak committed Jun 27, 2021
1 parent 67ef212 commit 327faf6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion specs/execute/cluster-init/scripts/10.execute.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ setenforce 0
sed -i -e "s/^SELINUX=enforcing$/SELINUX=disabled/g" /etc/selinux/config

# adapt multi user environment
SCRIPTUSER=$(jetpack config SCRIPTUSER)
jetpack users | head -n 1 > tmpfile
SCRIPTUSER=$(cut -d " " -f 2 tmpfile)
if [[ -z ${SCRIPTUSER} ]]; then
CUSER=$(grep "Added user" /opt/cycle/jetpack/logs/jetpackd.log | awk '{print $6}')
CUSER=${CUSER//\'/}
Expand Down

0 comments on commit 327faf6

Please sign in to comment.