mirror of
https://github.com/xcat2/confluent.git
synced 2026-11-13 15:47:00 +00:00
8bec81fb95
With installtodisk and confluent_imagemethod=untethered (or uncompressed) imageboot.sh first extracts the image to RAM and tears down the image mount and the cryptimg device. installimage then hands the empty /mnt/remote to image2disk.py, which wipes the target disk and fails with: FileNotFoundError: [Errno 2] No such file or directory: '/dev/mapper/cryptimg' Writing the image to disk never needs the RAM copy, so treat the image method as tethered when installtodisk is set. The same profile can then be switched between untethered and installtodisk by only adding or removing installtodisk.