Fix truncated P50 provisioning
- Support "s_v3" suffixed premium VM SKUs
This commit is contained in:
Родитель
c67225c3e9
Коммит
e434b83cb3
|
@ -67,7 +67,7 @@ _PREMIUM_STORAGE_INSTANCE_PREFIXES = frozenset((
|
|||
'standard_ds', 'standard_gs',
|
||||
))
|
||||
_PREMIUM_STORAGE_INSTANCE_SUFFIXES = frozenset((
|
||||
's',
|
||||
's', 's_v3',
|
||||
))
|
||||
_VM_TCP_NO_TUNE = (
|
||||
'basic_a0', 'basic_a1', 'basic_a2', 'basic_a3', 'basic_a4', 'standard_a0',
|
||||
|
|
|
@ -473,7 +473,7 @@ for disk in "${data_disks[@]}"; do
|
|||
part1=$(partprobe -d -s $disk | cut -d' ' -f4)
|
||||
if [ -z $part1 ]; then
|
||||
echo "$disk: partition 1 not found. Partitioning $disk."
|
||||
echo -e "n\np\n1\n\n\nw" | fdisk $disk
|
||||
parted -a opt -s $disk mklabel gpt mkpart primary 0% 100%
|
||||
else
|
||||
echo "$disk: partition 1 found. Skipping partitioning."
|
||||
skipped_part=("${skipped_part[@]}" "$disk")
|
||||
|
|
|
@ -119,6 +119,9 @@ else
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# dump mounted filesystems
|
||||
df -h
|
||||
|
||||
# get raid status
|
||||
if [ $raid_level -ge 0 ]; then
|
||||
echo ""
|
||||
|
|
Загрузка…
Ссылка в новой задаче