Skip to content
Snippets Groups Projects
Commit 9294cdcb authored by Danylo Vanin (EPAM)'s avatar Danylo Vanin (EPAM)
Browse files

[GONRG-10121] Allow hyphen in partition name

parent 9285e13a
No related branches found
No related tags found
1 merge request!588[GONRG-10121] Allow hyphen in partition name
Checking pipeline status
......@@ -3,7 +3,7 @@
# FIXME (GONRG-7695): Move elastic properties to additional partition when resolved
# FIXME (GONRG-7696): Move rabbitmq properties to additional partition when resolved
baremetal_system_partition_data() {
DATA_PARTITION_ID_UPPER="${DATA_PARTITION_ID_VALUE^^}"
DATA_PARTITION_ID_UPPER=$(echo "${DATA_PARTITION_ID_VALUE//-/_}" | tr '[:lower:]' '[:upper:]')
cat <<EOF
{
"properties": {
......
......@@ -2,7 +2,7 @@
# FIXME (GONRG-7695): Move elastic properties to additional partition when resolved
gc_system_partition_data() {
DATA_PARTITION_ID_UPPER="${DATA_PARTITION_ID_VALUE^^}"
DATA_PARTITION_ID_UPPER=$(echo "${DATA_PARTITION_ID_VALUE//-/_}" | tr '[:lower:]' '[:upper:]')
cat <<EOF
{
"properties": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment