mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-28 16:27:50 +00:00
Merge pull request #491 from amshinde/add-coreutils-debug-console
debug: Add coreutils to the list of packages for debug console.
This commit is contained in:
commit
16efde2004
@ -652,14 +652,15 @@ the following steps, which assume the use of a rootfs image.
|
|||||||
|
|
||||||
To login to a virtual machine, you must
|
To login to a virtual machine, you must
|
||||||
[create a custom rootfs](#create-a-rootfs-image)
|
[create a custom rootfs](#create-a-rootfs-image)
|
||||||
containing a shell such as `bash(1)`.
|
containing a shell such as `bash(1)`. For Clear Linux, you will need
|
||||||
|
an additional `coreutils` package.
|
||||||
|
|
||||||
For example using CentOS:
|
For example using CentOS:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ cd $GOPATH/src/github.com/kata-containers/osbuilder/rootfs-builder
|
$ cd $GOPATH/src/github.com/kata-containers/osbuilder/rootfs-builder
|
||||||
$ export ROOTFS_DIR=${GOPATH}/src/github.com/kata-containers/osbuilder/rootfs-builder/rootfs
|
$ export ROOTFS_DIR=${GOPATH}/src/github.com/kata-containers/osbuilder/rootfs-builder/rootfs
|
||||||
$ script -fec 'sudo -E GOPATH=$GOPATH USE_DOCKER=true EXTRA_PKGS="bash" ./rootfs.sh centos'
|
$ script -fec 'sudo -E GOPATH=$GOPATH USE_DOCKER=true EXTRA_PKGS="bash coreutils" ./rootfs.sh centos'
|
||||||
```
|
```
|
||||||
|
|
||||||
### Create a debug systemd service
|
### Create a debug systemd service
|
||||||
|
Loading…
Reference in New Issue
Block a user