BCVK-LIBVIRT-TO-BASE-DISK(8)

πŸ“¦
version 0.21.0 Β· 2 versions
, in fedora 43, fedora 44

✨ NAME ✨

bcvk-libvirt-to-base-disk β€” bestie, this is the section 8 manual page for making a base disk image for libvirt VMs πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

bcvk libvirt to-base-disk [OPTIONS]

πŸ’… DESCRIPTION πŸ’…

Okay so, what this does: it creates a base disk image for libvirt VMs. That's the whole vibe. πŸ‘‘


πŸ¦‹ OPTIONS πŸ¦‹

  • SOURCE_IMAGE β€” the image you're building from. This argument is required, so don't skip it, bestie, it's literally not optional πŸ™ˆ
  • --filesystem=FILESYSTEM β€” the root filesystem type. Like ext4, xfs, or btrfs, for example. Pick your fighter ✨
  • --root-size=ROOT_SIZE β€” how big the root filesystem should be. Think things like '10G' or '5120M' 🌸
  • --storage-path=STORAGE_PATH β€” the path to the host container storage. If you don't specify it, it gets auto-detected for you. No thoughts, head empty, it just knows 🧚
  • --target-transport=TARGET_TRANSPORT β€” the transport, like oci, oci-archive, or containers-storage. Defaults to registry πŸ’«
  • --karg=KARG β€” set a kernel argument. Go off, kernel 🫢
  • --composefs-backend β€” default to composefs-native storage ⭐
  • --bootloader=BOOTLOADER β€” which bootloader to use for the composefs-native backend πŸ‘‘
  • --allow-missing-fsverity β€” allow installation without fs-verity support, but like, for the composefs-native backend specifically. It's giving "I'll allow it" πŸ’€

πŸ”₯ EXAMPLES πŸ”₯

So here's the tea: by default, a base disk is created transparently when bcvk libvirt run is used. No extra steps, it just happens ✨

But β€” and this is the fun part β€” you can use this command to make sure a disk is generated in advance of launching multiple concurrent VMs. Pre-planning queen behavior, honestly πŸ‘Έ

Create a base disk:

bcvk libvirt to-base-disk --filesystem=ext4 --root-size=10G quay.io/fedora/fedora-bootc:latest

🌈 SEE ALSO 🌈

bcvk(8) β€” go read that one too, iykyk πŸ’œ


πŸ’– VERSION πŸ’–

This is v0.21.0, and honestly? Slay. That's the whole page, bestie β€” now go make some base disks πŸŽ€πŸ’…πŸ¦‹

πŸ“¦ where this page comes from