cloud-localds(1)
β¨ cloud-localds β the cloud-utils glow-up β¨
okay bestie, welcome to cloud-localds from the cloud-utils era π this is the lil' helper that whips up a seed disk so cloud-init can do its whole thing on first boot. it's giving backstage pass energy π
π¦ NAME π¦
cloud-localds β bestie, it literally creates a disk for cloud-init to utilize nocloud π
πΈ SYNOPSIS πΈ
cloud-localds [options] output user-data [meta-data]
β¨ DESCRIPTION β¨
so here's the vibe: cloud-localds creates a disk-image stuffed with user-data and/or meta-data for cloud-init(1). and when we say user-data can contain everything, we mean everything that cloud-init(1) supports. no cap, it's a full send π₯
π OPTIONS π
-d,--disk_format=DISKFORMATβ picks the disk format you wanna output. peepqemu-img(1)for the allowed disk formats (it's got the whole list). default israw, periodt β¨-f,--filesystem=FORMATβ the filesystem format, bestie. allowed formats arevfatandiso. default isiso9660π-h,--helpβ shows usage. the classic "help me pls" move π«Ά-i,--interfacesβ writes the network interfaces file into the metadata. slay π-m,--dsmode=MODEβ addsdsmodeto the metadata. allowed values arelocalornet. and btw, the default over incloud-init(1)isnetπ
π₯ EXAMPLES π₯
this example right here creates a disk image with user-data which can be used to start a cloud image that supports cloud-init(1). iconic behaviour, honestly.
first, create some user-data:
cat > my-user-data <<EOF
password: passw0rd
chpasswd: { expire: False }
ssh_pwauth: True
EOF
then create the disk image which contains the user-data:
cloud-localds my-seed.img my-user-data
now boot the cloud-image:
qemu -net nic -net user -hda cloud-image.img -hdb my-seed.img -m 512
and just so we're clear β cloud-image.img is an image which supports cloud-init(1) during the boot process π
π§ SEE ALSO π§
cloud-init(1), qemu-img(1), qemu(1)
π AUTHOR π
this manpage was written by Thomas Bechtold <thomasbechtold@jpberlin.de> for Debian systems (but may be used by others). permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 published by the Free Software Foundation. giving credit where it's due, we love to see it π«Ά
and that's the whole page, bestie β no notes, you ate π β¨
cloud-utils Β· July 2013 Β· signing off, mwah π
π¦ where this page comes from
- alpine 3.24: cloud-utils-doc 0.33-r1 Β· GPL-3.0-or-later
- arch rolling: cloud-image-utils 0.34-1 Β· GPL-3.0-only
- debian bookworm: cloud-image-utils 0.33-1 Β· GPL-3.0-only
- debian trixie: cloud-image-utils 0.33-1 Β· GPL-3.0-only
- fedora 43: cloud-utils-cloud-localds 0.33-11.fc43 Β· GPL-3.0-only
- fedora 44: cloud-utils-cloud-localds 0.33-13.fc44 Β· GPL-3.0-only
- nixos 26.05: cloud-utils 0.33
- nixpkgs unstable: cloud-utils 0.33
- ubuntu jammy: cloud-image-utils 0.32-22-g45fe84a5-0ubuntu1 Β· GPL-3.0-only
- ubuntu noble: cloud-image-utils 0.33-1 Β· GPL-3.0-only
- ubuntu resolute: cloud-image-utils 0.33-1build1 Β· GPL-3.0-only
- ubuntu stonking: cloud-image-utils 0.34-1 Β· GPL-3.0-only
- Copyright (C) 2013 Thomas Bechtold <thomasbechtold@jpberlin.de>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms