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
|
fi
|
||||||
|
|
||||||
source ${DIST}/../../scripts/version
|
source ${DIST}/../../scripts/version
|
||||||
VMLINUX=$(ls -1 ${DIST}/vmlinuz-* | head -n1)
|
VMLINUX=$(ls -1 ${DIST}/ | grep "^vmlinuz-" | head -n1)
|
||||||
INITRD="${DIST}/initrd-${VERSION}"
|
INITRD="initrd-${VERSION}"
|
||||||
|
|
||||||
IP=$(curl ipinfo.io/ip)
|
IP=$(curl ipinfo.io/ip)
|
||||||
PORT=2115
|
PORT=2115
|
||||||
|
Reference in New Issue
Block a user