Skip to content

Commit 3975252

Browse files
author
Nelson Wang
committed
Fixing libs
1 parent 3a808a8 commit 3975252

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

base/redhat-8/install.sh

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,24 @@ microdnf -y --nodocs install wget sudo shadow-utils procps
3030
#install busybox direct from the multiarch since epel isn't availible yet for redhat8
3131
wget -O /bin/busybox https://busybox.net/downloads/binaries/1.28.1-defconfig-multiarch/busybox-`arch`
3232
chmod +x /bin/busybox
33-
microdnf -y --nodocs install python2 tar
33+
microdnf -y --nodocs install gcc redhat-rpm-config python2-devel libffi-devel openssl-devel tar
34+
pip2 install --upgrade pip
3435
pip2 -q --no-cache-dir install requests ansible
3536

3637
cd /bin
37-
ln -s busybox diff
38-
ln -s busybox hostname
39-
ln -s busybox killall
40-
ln -s busybox netstat
41-
ln -s busybox nslookup
42-
ln -s busybox ping
43-
ln -s busybox ping6
44-
ln -s busybox readline
45-
ln -s busybox route
46-
ln -s busybox syslogd
47-
ln -s busybox traceroute
38+
ln -s python2 python || true
39+
python -V
40+
ln -s busybox diff || true
41+
ln -s busybox hostname || true
42+
ln -s busybox killall || true
43+
ln -s busybox netstat || true
44+
ln -s busybox nslookup || true
45+
ln -s busybox ping || true
46+
ln -s busybox ping6 || true
47+
ln -s busybox readline || true
48+
ln -s busybox route || true
49+
ln -s busybox syslogd || true
50+
ln -s busybox traceroute || true
4851
chmod u+s /bin/ping
4952
groupadd sudo
5053

0 commit comments

Comments
 (0)