Skip to content

Commit e4510a5

Browse files
committed
content: Add resize image guide
The downloaded image defaults to 40 GiB large, which could be insufficient for our use case. Signed-off-by: Ruoqing He <[email protected]>
1 parent bd9e762 commit e4510a5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/cloud-native/kata-containers/kata-on-openEuler-riscv64.md

+8
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,16 @@ sed -i 's/-drive file="$drive",format=qcow2,id=hd0 \\/-drive file="$drive",forma
5353
# Extract qcow2 image
5454
unxz openEuler-24.09-riscv64.qcow2.xz
5555

56+
# Resize image
57+
qemu-img resize openEuler-24.09-riscv64.qcow2 +100G
58+
5659
# Start VM, default account/password is root/openEuler12#$
5760
bash start_vm.sh
61+
62+
# Login to VM, grow root (/) partition
63+
sudo dnf update
64+
sudo dnf install could-utils
65+
growpart /dev/vda 2
5866
```
5967

6068
### Replace Kernel with Latest Mainline Kernel

0 commit comments

Comments
 (0)