Skip to content

Commit 4bc7f60

Browse files
committed
refact: Use common VOLID for later identification
1 parent 9e8ed74 commit 4bc7f60

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

‎installer-factory/create_iso.sh‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,6 @@ if [[ -f "${CONFIG_PATH}" ]]; then
4949
fi
5050
fi
5151

52-
VOLID="$(echo "${PRODUCT_NAME}" | \
53-
iconv -t ASCII//TRANSLIT 2>/dev/null | \
54-
tr -cd '[:print:]' | \
55-
tr '[:lower:]' '[:upper:]' | \
56-
sed -E 's/[^A-Z0-9]+/_/g' | \
57-
sed -E 's/_+/_/g' | \
58-
sed -E 's/^[_]+|[_]+$//g' | \
59-
cut -c1-32)"
60-
VOLID="${VOLID:-"CUOS"}"
61-
62-
6352
grub-mkrescue \
6453
-o "${INSTALLER}" \
6554
-V "${VOLID}" \

0 commit comments

Comments
 (0)