Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/8'
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelkarp committed Mar 18, 2020
2 parents f969cba + 62ffb01 commit a15f142
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sheltie
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@ if [[ $EUID -ne 0 ]]; then
fi

# Location of the container's rootfs on the host filesystem
ROOT_FS_PATH="/run/host-containerd/io.containerd.runtime.v1.linux/default/admin/rootfs"
# Because we have a shared pid namespace, /proc inside the container matches
# /proc outside the container. The special directory 'root' inside a given
# process directory in /proc contains that process's view of the filesystem.
# We use ${PPID} to indicate the pid of the parent process of this script so we
# can see the container's root filesystem inside this directory.
ROOT_FS_PATH="/proc/${PPID}/root"
BASH_PATH="/opt/bin/bash"

# Start the root shell on the Bottlerocket host
Expand Down

0 comments on commit a15f142

Please sign in to comment.