CDIST-TYPE__QEMU_IMG(7)

πŸ’– NAME πŸ’–

cdist-type__qemu_img β€” bestie, this is the cdist type that manages your VM disk images. No cap.


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so, the whole point of this one: the qemu-img program is what gets used to create qemu images for qemu and for (qemu-)kvm. That's it, that's the gig. It's giving "I make disks exist." πŸ’…


✨ OPTIONAL PARAMETERS ✨

so these are optional-optional, except one of them isn't really optional in practice, keep reading, iykyk:

  • state β€” either present or absent. If you don't say anything, it defaults to present. So like, silent default energy. 🌸
  • size β€” the size of the image, in qemu-img compatible units. And listen: this one is required if state is present. You cannot be out here asking for a present image with no size, it will simply not slay. 🫢

🌈 EXAMPLES 🌈

here's the vibe in action, literally copy-paste these:

# Create a 50G size image
__qemu_img /home/services/kvm/vm/myvmname/system-disk --size 50G

# Remove image
__qemu_img /home/services/kvm/vm/myoldvm/system-disk --state absent

like, first one: boom, 50G image, main character energy. Second one: bye bye image, gone, no notes. πŸŽ€


πŸ‘‘ SEE ALSO πŸ‘‘

qemu-img(1) β€” go read the actual tool's manual if you want the deep lore, bestie.


πŸŽ€ AUTHORS πŸŽ€

Nico Schottelius <nico-cdist--@--schottelius.org> β€” we stan. πŸ’œ


πŸ’€ COPYING πŸ’€

Copyright (C) 2012-2014 Nico Schottelius. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. periodt. 🧚


ungleich GmbH 2021


and that's the whole page, bestie!! this was cdist manual page CDIST-TYPE__QEMU_IMG(7), version 7.0.0, dated Jul 31, 2022 β€” generated straight from the source, no cap, go make some disks πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from