cc-oci-runtime
cc-oci-runtime copied to clipboard
Recommended updates to CentOS 7 instructions for CC 2.1
- When running the step "go get github.com/01org/cc-oci-runtime" I got the error below but that error does not matter. There should be a note stating to ignore the error.
can't load package: package github.com/01org/cc-oci-runtime: no buildable Go source files in /root/go/src/github.com/01org/cc-oci-runtime
-
Fix long instructions that have a \ at the end so that they work in windows and putty. I did try copy/paste a but then it prepends each line with > meaning you have to copy/paste one at a time and splice. I am not sure the best approach to this to be honest. The qemu lite has around 46 options so formatting that is really difficult.
-
Install container kernel and rootfs section – These instructions ask you to browse to a website to download certain packages. This is difficult from a terminal. wget is not installed in centos by default so you have to figure out the exact file name which can change and then manually type in the wget command. Here is what worked for me which should work with any naming version of clear-containers* and linux-containers*. I assume that there won’t be multiple versions of the file up there and that the name won’t change.
$ yum install wget $ wget -nH -nd -r -l1 -e robots=off "http://download.opensuse.org/repositories/home:/clearlinux:/preview:/clear-containers-2.1/CentOS_7/x86_64/" -A "clear-containers*.rpm, linux-container*.rpm"
Another small change.
On section Install the clear containers runtime from sources
, we need to change:
$ pushd go/src/github.com/01org/cc-oci-runtime
with:
$ pushd ~/go/src/github.com/01org/cc-oci-runtime
@eadamsintel Can you provide me the link to the content you need me to improve?
https://github.com/01org/cc-oci-runtime/blob/master/documentation/Installing-Clear-Containers-on-Centos-7.md