# ata3-slave: type=cdrom, path=iso.sample, status=inserted
#=======================================================================
ata0-master: type=disk, mode=flat, path="HD.IMG", model="Generic aBCd"
+ata0-slave: type=cdrom, path=kernel.iso, status=inserted
#ata0-master: type=disk, mode=flat, path="30M.sample"
#ata0-master: type=disk, mode=flat, path="30M.sample", cylinders=615, heads=6, spt=17
#ata0-master: type=disk, mode=flat, path="c.img", cylinders=0 # autodetect
# boot: cdrom, floppy, disk
#=======================================================================
#boot: floppy
-boot: disk
+boot: cdrom
#=======================================================================
# FLOPPY_BOOTSIG_CHECK: disabled=[0|1]
-CONTAINER_ID=78a
+
+if [ $# -ne 1 ]; then
+ docker ps -a
+ echo "input containerid "
+ read CONTAINER_ID
+else
+ CONTAINER_ID=$1
+fi
+
+echo "container id ${CONTAINER_ID}"
+
docker exec -it $CONTAINER_ID /bin/bash -c "cd /root/workspace/kernel && ./scripts/mkiso.sh"