Jetpack 4.6, Jetson Xavier, Ubuntu 18.04
apt install -y curl jq runc iptables conntrack nvidia-container-runtime nvidia-container-toolkit
#!/bin/bash | |
# Dependencies | |
# tpm2-tools-4.0.1-1.fc31.x86_64 | |
# tpm2-tss-2.3.1-1.fc31.x86_64 | |
# tpm2-tss-engine-master | |
set -euxo pipefail | |
export TPM2TOOLS_TCTI="device:/dev/tpmrm0" |
source ~/overcloudrc | |
curl https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2c > \ | |
CentOS-7-x86_64-GenericCloud.qcow2c | |
openstack image create "centos7" --file CentOS-7-x86_64-GenericCloud.qcow2c \ | |
--disk-format qcow2 --container-format bare \ | |
--public |
#!/bin/bash -e | |
# Usage ./k8s-service-account-kubeconfig.sh ( namespace ) ( service account name ) | |
TEMPDIR=$( mktemp -d ) | |
trap "{ rm -rf $TEMPDIR ; exit 255; }" EXIT | |
SA_SECRET=$( kubectl get sa -n $1 $2 -o jsonpath='{.secrets[0].name}' ) |