mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-28 16:27:50 +00:00
osbuilder: Add logs for setting up systemd based stuff
This helps us to debug any kind of changes. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
4a8fb475be
commit
5f146e10a1
@ -702,6 +702,7 @@ EOF
|
||||
if [ "${AGENT_INIT}" == "yes" ]; then
|
||||
setup_agent_init "${AGENT_DEST}" "${init}"
|
||||
else
|
||||
info "Setup systemd-base environment for kata-agent"
|
||||
# Setup systemd-based environment for kata-agent
|
||||
mkdir -p "${ROOTFS_DIR}/etc/systemd/system/basic.target.wants"
|
||||
ln -sf "/usr/lib/systemd/system/kata-containers.target" "${ROOTFS_DIR}/etc/systemd/system/basic.target.wants/kata-containers.target"
|
||||
|
Loading…
Reference in New Issue
Block a user