Merge "ETCD need to add UNSUPPORT environment in AArch64"

This commit is contained in:
Jenkins 2017-08-14 07:39:16 +00:00 committed by Gerrit Code Review
commit 688993bf2e

View File

@ -57,6 +57,9 @@ function start_etcd3 {
iniset -sudo $unitfile "Service" "Type" "notify"
iniset -sudo $unitfile "Service" "Restart" "on-failure"
iniset -sudo $unitfile "Service" "LimitNOFILE" "65536"
if is_arch "aarch64"; then
iniset -sudo $unitfile "Service" "Environment" "ETCD_UNSUPPORTED_ARCH=arm64"
fi
$SYSTEMCTL daemon-reload
$SYSTEMCTL enable $ETCD_SYSTEMD_SERVICE