core: 将 cloud image 镜像存放分区改为 2G
This commit is contained in:
parent
0c6ec371ba
commit
0dc6fd7c81
4
trans.sh
4
trans.sh
@ -330,8 +330,8 @@ if [ "$distro" = windows ]; then
|
|||||||
elif is_use_cloud_image; then
|
elif is_use_cloud_image; then
|
||||||
parted /dev/$xda -s -- \
|
parted /dev/$xda -s -- \
|
||||||
mklabel gpt \
|
mklabel gpt \
|
||||||
mkpart '" "' ext4 1MiB -1GiB \
|
mkpart '" "' ext4 1MiB -2GiB \
|
||||||
mkpart '" "' ext4 -1GiB 100%
|
mkpart '" "' ext4 -2GiB 100%
|
||||||
update_part /dev/$xda
|
update_part /dev/$xda
|
||||||
mkfs.ext4 -F -L os /dev/$xda*1 #1 os
|
mkfs.ext4 -F -L os /dev/$xda*1 #1 os
|
||||||
mkfs.ext4 -F -L installer /dev/$xda*2 #2 installer
|
mkfs.ext4 -F -L installer /dev/$xda*2 #2 installer
|
||||||
|
Loading…
Reference in New Issue
Block a user