tinkerbell / actions

Suite of Tinkerbell Actions for use in Tinkerbell Workflows

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cexec should mount sysfs when running commands in chroot

vilkaspilkas opened this issue · comments

Expected Behaviour

Commands requiring sysfs inside the chroot should work.

Current Behaviour

Currently cexec mounts /dev and /proc filesystems inside the chroot before running commands, however there are some commands that also require sysfs presence.

Possible Solution

Add code to mount sysfs in the MountSpecialDirs function.