mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-29 20:14:25 +01:00
When agent is used as init process, there is no need to install systemd. Signed-off-by: Peng Tao <bergwolf@gmail.com>
10 lines
269 B
Bash
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
|