mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-11-23 18:33:41 +08:00
Shellcheck
This commit is contained in:
@@ -142,7 +142,7 @@ echo "Install: Creating partition table..."
|
||||
|
||||
PART="$TMP/partition.fdisk"
|
||||
|
||||
"{ echo "label: dos"
|
||||
{ echo "label: dos"
|
||||
echo "label-id: 0x6f9ee2e9"
|
||||
echo "device: ${SYSTEM}"
|
||||
echo "unit: sectors"
|
||||
@@ -150,7 +150,7 @@ PART="$TMP/partition.fdisk"
|
||||
echo ""
|
||||
echo "${SYSTEM}1 : start= 2048, size= 4980480, type=83"
|
||||
echo "${SYSTEM}2 : start= 4982528, size= 4194304, type=82"
|
||||
}" > $PART
|
||||
} > "$PART"
|
||||
|
||||
sfdisk -q "$SYSTEM" < "$PART"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user