2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 02:52:07 +00:00

Remove extraneous '/' output

Suppress output of cd -, as
it's a bit odd during boot.
This commit is contained in:
Jarrod Johnson 2021-06-24 15:57:03 -04:00
parent 42f8056d56
commit a2b2c8a995
3 changed files with 6 additions and 6 deletions

View File

@ -19,7 +19,7 @@ get_remote_apikey() {
tpm2_load -Q --parent-context=prim.ctx --public=data.pub --private=data.priv --name=confluent.apikey --key-context=data.ctx
tpm2_evictcontrol -Q -c data.ctx
tpm2_flushcontext session.ctx
cd -
cd - > /dev/null
rm -rf $tmpdir
fi
done
@ -86,7 +86,7 @@ for hdl in $(tpm2_getcap handles-persistent|awk '{print $2}'); do
lasthdl=$hdl
fi
done
cd -
cd - > /dev/null
rm -rf $tpmdir
touch /etc/confluent/confluent.info
cd /sys/class/net

View File

@ -74,7 +74,7 @@ for hdl in $(tpm2_getcap handles-persistent|awk '{print $2}'); do
lasthdl=$hdl
fi
done
cd -
cd - > /dev/null
rm -rf $tpmdir
/usr/libexec/platform-python /opt/confluent/bin/apiclient /confluent-api/self/deploycfg > /etc/confluent/confluent.deploycfg
umask $oldumask
@ -92,7 +92,7 @@ if [ "$new_apikey" != "$confluent_apikey" ]; then
tpm2_load -Q --parent-context=prim.ctx --public=data.pub --private=data.priv --name=confluent.apikey --key-context=data.ctx
tpm2_evictcontrol -Q -c data.ctx
tpm2_flushcontext session.ctx
cd -
cd - > /dev/null
rm -rf $tmpdir
fi
tpm2_pcrextend 15:sha256=2fbe96c50dde38ce9cd2764ddb79c216cfbcd3499568b1125450e60c45dd19f2 2> /dev/null

View File

@ -19,7 +19,7 @@ get_remote_apikey() {
tpm2_load -Q --parent-context=prim.ctx --public=data.pub --private=data.priv --name=confluent.apikey --key-context=data.ctx
tpm2_evictcontrol -Q -c data.ctx
tpm2_flushcontext session.ctx
cd -
cd - > /dev/null
rm -rf $tmpdir
fi
done
@ -87,7 +87,7 @@ for hdl in $(tpm2_getcap handles-persistent|awk '{print $2}'); do
lasthdl=$hdl
fi
done
cd -
cd - > /dev/null
rm -rf $tpmdir
touch /etc/confluent/confluent.info
cd /sys/class/net