Browse code

Merge "ETCD need to add UNSUPPORT environment in AArch64"

Jenkins authored on 2017/08/14 16:39:16
Showing 1 changed files
... ...
@@ -57,6 +57,9 @@ function start_etcd3 {
57 57
     iniset -sudo $unitfile "Service" "Type" "notify"
58 58
     iniset -sudo $unitfile "Service" "Restart" "on-failure"
59 59
     iniset -sudo $unitfile "Service" "LimitNOFILE" "65536"
60
+    if is_arch "aarch64"; then
61
+        iniset -sudo $unitfile "Service" "Environment" "ETCD_UNSUPPORTED_ARCH=arm64"
62
+    fi
60 63
 
61 64
     $SYSTEMCTL daemon-reload
62 65
     $SYSTEMCTL enable $ETCD_SYSTEMD_SERVICE