Skip to content

Commit

Permalink
Update initialization.sh arm64
Browse files Browse the repository at this point in the history
same changes as amd64, removed duplicate apt-get update lines
  • Loading branch information
gainesaw authored Jul 5, 2023
1 parent a85ee1f commit 5f771fe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions configuration/arm64/initialization.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/bin/bash
# update and upgrade commands to update linux OS
sudo apt-get update -y && sudo apt-get upgrade -y
sudo apt update -y && sudo apt upgrade -y

#installing necessary and useful apps
Expand All @@ -27,16 +26,15 @@ rm sql_root_pass.txt && rm sql_pass.txt
#ARM initialization
cd ..
sudo apt-get -y remove docker docker-engine docker.io containerd runc
sudo apt-get update
sudo apt-get -y install apt-transport-https ca-certificates curl gnupg-agent software-properties-common
OS=$(lsb_release -i | awk 'FS=":" {print $3;}' | awk '{print tolower($0)}')
arch=$(dpkg --print-architecture)
curl -fsSL https://download.docker.com/linux/$OS/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=$arch] https://download.docker.com/linux/$OS $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-compose-plugin
sudo apt -y install python3-pip
sudo pip3 install docker-compose
sudo apt update -y && sudo apt upgrade -y
sudo docker-compose up -d

#create v2xhub user
Expand Down

0 comments on commit 5f771fe

Please sign in to comment.