Files
kata-containers/rootfs-builder/clearlinux/config.sh
Peng Tao 97c7e4b7bf config.sh: do not install systemd if agent is init
When agent is used as init process, there is no need to install
systemd.

Signed-off-by: Peng Tao <bergwolf@gmail.com>
2018-02-01 22:58:57 +08:00

10 lines
269 B
Bash

#
# Copyright (c) 2017 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0
#Use "latest" to always pull the last Clear Linux Release
OS_VERSION=${OS_VERSION:-latest}
PACKAGES="iptables-bin libudev0-shim"
[ "$AGENT_INIT" == "no" ] && PACKAGES+=" systemd" || true