mirror of
				https://github.com/xcat2/confluent.git
				synced 2025-10-31 11:22:28 +00:00 
			
		
		
		
	Remove extraneous '/' output
Suppress output of cd -, as it's a bit odd during boot.
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user