Fix the installation bug in startup.sh file 86/1586/1
authorJingzhao.Ni <Jingzhao.Ni@arm.com>
Mon, 16 Sep 2019 13:57:15 +0000 (21:57 +0800)
committerJingzhao.Ni <Jingzhao.Ni@arm.com>
Mon, 16 Sep 2019 13:57:15 +0000 (21:57 +0800)
commitac82cd425557326f6b4362d9c6655e6e6038375a
tree3b4fccc7236f25f75f19702eb5c481f5a1bee1f0
parentc0e2cca48bccfcaef70be39b972b69488bd83d1d
Fix the installation bug in startup.sh file

The k8s can not deployed properly when status of OS's swap is on.
It mainly because that the "sudo swapon -a" operation should be
invoked after the "kubeadm join xx" command, but not before it.
So, in this patch, the sequency of 2 commands were re-ordered for
fixing it.

Signed-off-by: Jingzhao.Ni <Jingzhao.Ni@arm.com>
Change-Id: I7bac839a1b77a76f536da35989741776aefb5929
src/foundation/scripts/startup.sh