Skip to content

Commit

Permalink
Update photon.sh to remove duplicate package installs (vmware-sampl…
Browse files Browse the repository at this point in the history
…es#113)

Updates `photon.sh` to remove duplicate packages:
- `ca-certificates` and `curl` already installed.
- removed second install (whoops!) of `openssl-c_rehash`.
  • Loading branch information
tenthirtyam committed Oct 6, 2021
1 parent 271acff commit 48a935e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/linux/photon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,12 @@ echo '> Installing additional packages ...'
sudo tdnf install -y \
minimal \
logrotate \
curl \
wget \
git \
unzip \
tar \
jq \
parted \
ca-certificates \
openssl-c_rehash

### Clearing tdnf cache. ###
Expand All @@ -49,8 +47,6 @@ sudo tdnf clean all

### Copy the Certificate Authority certificates and add to the certificate authority trust. ###
echo '> Copying the Certificate Authority certificates and adding to the certificate authority trust ...'
sudo tdnf install -y openssl-c_rehash
echo '> Copying the Certificate Authority certificates and adding to the certificate authority trust ...'
sudo chown -R root:root /tmp/root-ca.crt
sudo cat /tmp/root-ca.crt > /etc/ssl/certs/root-ca.pem
sudo chmod 644 /etc/ssl/certs/root-ca.pem
Expand Down

0 comments on commit 48a935e

Please sign in to comment.