Skip to content
Snippets Groups Projects
Commit 6ee16b3c authored by Oleksandr Kosse (EPAM)'s avatar Oleksandr Kosse (EPAM)
Browse files

Merge branch 'GONRG-10121-Allow-Hyphen-In-Partition-Name' into 'master'

[GONRG-10121] Allow hyphen in partition name

See merge request !588
parents 9285e13a 9294cdcb
No related branches found
No related tags found
Loading
Pipeline #280160 failed
......@@ -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