mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-23 22:17:19 +00:00
osbuilder: Change to "=" operator to make script more portable
zsh doesn't support "==" as equal comparison operator, so replace "==" with "=" to make the script more portable Fixes: #2584 Signed-off-by: Binbin Zhang <binbin36520@gmail.com>
This commit is contained in:
parent
9bbaa66f39
commit
924a68d08d
@ -27,7 +27,7 @@ PACKAGES="iptables chrony"
|
||||
#Optional packages:
|
||||
# systemd: An init system that will start kata-agent if kata-agent
|
||||
# itself is not configured as init process.
|
||||
[ "$AGENT_INIT" == "no" ] && PACKAGES+=" systemd" || true
|
||||
[ "$AGENT_INIT" = "no" ] && PACKAGES+=" systemd" || true
|
||||
|
||||
# Init process must be one of {systemd,kata-agent}
|
||||
INIT_PROCESS=systemd
|
||||
|
@ -20,7 +20,7 @@ PACKAGES="libudev0-shim kmod-bin"
|
||||
#Optional packages:
|
||||
# systemd: An init system that will start kata-agent if kata-agent
|
||||
# itself is not configured as init process.
|
||||
[ "$AGENT_INIT" == "no" ] && PACKAGES+=" systemd chrony iptables-bin util-linux-bin" || true
|
||||
[ "$AGENT_INIT" = "no" ] && PACKAGES+=" systemd chrony iptables-bin util-linux-bin" || true
|
||||
|
||||
# Init process must be one of {systemd,kata-agent}
|
||||
INIT_PROCESS=systemd
|
||||
|
@ -14,7 +14,7 @@ PACKAGES="iptables chrony"
|
||||
#Optional packages:
|
||||
# systemd: An init system that will start kata-agent if kata-agent
|
||||
# itself is not configured as init process.
|
||||
[ "$AGENT_INIT" == "no" ] && PACKAGES+=" systemd" || true
|
||||
[ "$AGENT_INIT" = "no" ] && PACKAGES+=" systemd" || true
|
||||
|
||||
# Init process must be one of {systemd,kata-agent}
|
||||
INIT_PROCESS=systemd
|
||||
|
Loading…
Reference in New Issue
Block a user