$ unshare --user --map-root-user --net --mount
[root@incensed-gawain ~]# echo $$
2646
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tunnel: "disabled" | |
datapath-mode: "ipvlan" | |
ipvlan-master-device: "enp0s9" | |
#install-iptables-rules: "false" | |
masquerade: "true" | |
auto-direct-node-routes: "true" | |
kube-system pod/cilium-2q7v2 0/1 Running 1 3m54s 192.168.121.70 clr-01 <none> <none> | |
kube-system pod/cilium-etcd-operator-7646c97877-swf5s 1/1 Running 0 3m54s 192.168.121.70 clr-01 <none> <none> |
bring up v1.2 of cloud-native-setup. setup_system is done as part of vagrant all 3 machines have crio running at this point
- one error in journalctl
dmeventd libdevmapper-event-lvm2thin.so dlopen failed: libdevmapper-event-lvm2thin.so: cannot open shared object file: No such file or directory.
kubeadm init caused this on master
[ERROR ImagePull]: failed to pull image k8s.gcr.io/coredns:1.2.6: output: time="2019-03-14T16:27:07Z" level=fatal msg="pulling image failed: rpc error: code = Unknown desc = pinging docker registry returned: Get https://k8s.gcr.io/v2/: net/http: TLS handshake timeout", error: exit status 1
wget https://downloadmirror.intel.com/25791/eng/XL710_NVMUpdatePackage_v6_01_Linux.tar.gz
tar xvzf XL710_NVMUpdatePackage_v6_01_Linux.tar.gz
cd XL710/Linux_x64/
./nvmupdate64e
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -x | |
set -o errexit | |
set -o pipefail | |
set -o nounset | |
exec 3>&1 | |
exec &>>/var/log/$(basename $0).log | |
PATH="$CNI_PATH:$(dirname "${BASH_SOURCE[0]}"):$PATH" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
RUN apt-get update && apt-get install --no-install-recommends -y \ | |
gcc \ | |
libc-dev \ | |
make \ | |
python3-pip \ | |
python3-setuptools && \ | |
rm -rf /var/lib/apt/lists/* | |
RUN pip3 install --no-cache-dir \ | |
meson \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run \ | |
-v $(pwd):/mycode \ | |
-v $HOME/.docker/config.json:/kaniko/config.json \ | |
--env DOCKER_CONFIG=/kaniko \ | |
gcr.io/kaniko-project/executor:latest \ | |
--dockerfile=Dockerfile \ | |
--context=/mycode \ | |
-d index.docker.io/myrepo/myimage:mytag |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --rm -v ${PWD}:/local -v /etc/passwd:/etc/passwd:ro -u `id -u`:`id -g` \ | |
openapitools/openapi-generator-cli generate \ | |
-i /local/TS29502_Nsmf_PDUSession.yaml \ | |
-g go-server -D packageName=smfpdu \ | |
-o /local/out/TS29502_Nsmf_PDUSession/go-server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget https://raw.githubusercontent.com/torvalds/linux/master/.clang-format | |
sed -i '/SortIncludes:/c SortIncludes: true' .clang-format | |
sed -i '/ReflowComments:/c ReflowComments: true' .clang-format | |
docker run --name clang --rm -it \ | |
-v /etc/passwd:/etc/passwd:ro -u `id -u`:`id -g` \ | |
-v $(pwd):/code \ | |
krsna1729/llvm \ | |
bash -c "shopt -s globstar && clang-format -i /code/**/*.[ch]" |