Signed-off-by: Taewan Kim <t25.kim@samsung.com>
Change-Id: I60d605fbb9d8c9cbf898583a0e4586cca61b9b79
#
# ==================================================================================
+# Checking whether the user is added in the docker group or not.
+if [[ $(groups | grep docker) ]]; then
+ echo "You are already added to the docker group!"
+else
+ sudo groupadd docker
+ sudo usermod -aG docker $USER
+ echo "Adding you to the docker group re-login is required."
+ echo "Exiting now try to login again."
+ exit
+fi
+
tools/kubernetes/install_k8s.sh
tools/nfs/configure_nfs_server.sh localhost
tools/helm/install_helm.sh
#
# ==================================================================================
-# Checking whether the user is added in the docker group or not.
-if [[ $(groups | grep docker) ]]; then
- echo "You are already added to the docker group!"
-else
- sudo groupadd docker
- sudo usermod -aG docker $USER
- echo "Adding you to the docker group re-login is required."
- echo "Exiting now try to login again."
- exit
-fi
-
# Install Docker Engine
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates curl gnupg lsb-release