aboutsummaryrefslogtreecommitdiff
path: root/leg-cloud-image/centos/builders.sh
diff options
context:
space:
mode:
Diffstat (limited to 'leg-cloud-image/centos/builders.sh')
-rwxr-xr-xleg-cloud-image/centos/builders.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/leg-cloud-image/centos/builders.sh b/leg-cloud-image/centos/builders.sh
index a2aa8164a3..5b1ef249df 100755
--- a/leg-cloud-image/centos/builders.sh
+++ b/leg-cloud-image/centos/builders.sh
@@ -60,7 +60,6 @@ mv centos7-aarch64.ks out/
# virsh vol-download is slow - copy from a mounted volume
sudo cp -a /var/lib/libvirt/images/${image_name}.qcow2 .
# extract kernel and initramfs from image
-# --unversioned-names may be handy to get vmlinuz/initrd.img names if needed
sudo qemu-nbd --connect=/dev/nbd0 ${image_name}.qcow2
for device in $(sudo kpartx -avs /dev/nbd0 | cut -d' ' -f3); do
partition=$(echo ${device} | cut -d'p' -f2)