[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Using disk images from cloud.debian.org



 ❦ 18 novembre 2019 15:46 +01, Johannes Schauer <josch@debian.org>:

> Unfortunately, it doesn't help in my situation because my original problem is
> that due to missing functionality (like losetup, mount or kpartx) in the
> autopkgtest runners I cannot create disk images so I cannot create a disk image
> of that "config drive" usb stick either. :(

Without being root, you can create FAT filesystems using raw images with
mtools. For example :

truncate -s 10M metadata-$name.img
mkfs.vfat metadata-$name.img
mcopy -i metadata-$name.img id_rsa.pub ::/.

-- 
April 1

This is the day upon which we are reminded of what we are on the other three
hundred and sixty-four.
		-- Mark Twain, "Pudd'nhead Wilson's Calendar"

Attachment: signature.asc
Description: PGP signature


Reply to: