---------------------
| workstation [enp5s0f0] -- internet
| | ---------------
| [enp5s0f1] -- | switch |
-------------------- | |
[lab-nuc-1] --| |
[lab-nuc-2] --|--------------|
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
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"sync" | |
"time" | |
) | |
func doTask(fileName string) (string, error) { |
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
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"sync" | |
"time" | |
) | |
func getStrings(fileName string) (string, error) { |
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
package main | |
import ( | |
"fmt" | |
"math/rand" | |
"sync" | |
"time" | |
) | |
func doTask(fileName string) (string, error) { |
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 -e | |
# some steps require root, so run $sudo -E | |
# https://github.com/containerd/cri/blob/master/docs/installation.md | |
export VERSION="1.2.4" | |
# install libseccomp2 | |
apt-get update | |
apt-get install libseccomp2 |
This document sets up an lvm-snapshotter that listens on a specified socket. It assumes that you already have a volume group, and thin logical volume set up, if not some example commands are provided below.
A very beginner guide to setting up a ccloudvm instance with sparse files in replace of disks can be found here: <>
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 | |
# running kata-runtime with podman on Fedora 28 | |
# I used ccloudvm for my dev system (this is not required) | |
ccloudvm create --name podman --mem 4096 --cpus 2 fedora28 | |
ccloudvm connect podman | |
# update system and install podman | |
sudo yum update | |
sudo yum install podman |
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 | |
# Needs reboot after modify selinux/config file to disable selinux | |
# this is bring ran on a fedora28 ccloudvm instance | |
# ccloudvm create --cpus 4 --mem 4096 --disk 64 --name KataPodmanDemo fedora28 | |
# install dependencies (tmux/vim optional) | |
sudo yum update -y | |
sudo yum install -y \ |
OlderNewer