Skip to content

Commit b6baaa4

Browse files
committed
openSUSE: do not run random stuff off the internet and run it
The build_image.sh is already needed to run with super user privileges for block device access. Definitivley not a great idea to download any shell script off the internet and run it as superuser If we want shells-helper in the Shells.com images, we have to package shells-helper and install it as a package, as anything else is done.
1 parent 3aea7a2 commit b6baaa4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

oscfg/opensuse.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -202,15 +202,6 @@ EOF
202202

203203
fi
204204

205-
# add shells-helper to /etc/skel
206-
if [ ! -f "$WORK/etc/skel/.bin/shells-helper" ]; then
207-
mkdir -p "$WORK/etc/skel/.bin"
208-
local O="$PWD"
209-
cd "$WORK/etc/skel/.bin"
210-
curl -s https://raw.githubusercontent.com/KarpelesLab/make-go/master/get.sh | /bin/sh -s shells-helper
211-
cd "$O"
212-
fi
213-
214205
# add firstrun
215206
add_firstrun NetworkManager-wait-online.service
216207
do_linux_config

0 commit comments

Comments
 (0)