mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-11-17 18:51:25 +00:00
add file to second partition during creating disks
This commit is contained in:
parent
96f3256a51
commit
45e90cd076
@ -9,6 +9,10 @@ mkfs ext4 /dev/sda1
|
|||||||
mkfs ext4 /dev/sda2
|
mkfs ext4 /dev/sda2
|
||||||
mount /dev/sda1 /
|
mount /dev/sda1 /
|
||||||
write /testfile "Hello, world!"
|
write /testfile "Hello, world!"
|
||||||
|
umount /
|
||||||
|
mount /dev/sda2 /
|
||||||
|
write /testfile "Oh, hi Mark"
|
||||||
|
umount /
|
||||||
_EOF_
|
_EOF_
|
||||||
|
|
||||||
guestfish <<_EOF_
|
guestfish <<_EOF_
|
||||||
|
Loading…
Reference in New Issue
Block a user