mirror of
https://github.com/rancher/os.git
synced 2025-09-16 15:09:27 +00:00
Get only the filename
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -20,8 +20,8 @@ if [[ ! -e "$DIST" ]]; then
|
||||
fi
|
||||
|
||||
source ${DIST}/../../scripts/version
|
||||
VMLINUX=$(ls -1 ${DIST}/vmlinuz-* | head -n1)
|
||||
INITRD="${DIST}/initrd-${VERSION}"
|
||||
VMLINUX=$(ls -1 ${DIST}/ | grep "^vmlinuz-" | head -n1)
|
||||
INITRD="initrd-${VERSION}"
|
||||
|
||||
IP=$(curl ipinfo.io/ip)
|
||||
PORT=2115
|
||||
|
Reference in New Issue
Block a user