Skip to content

Instantly share code, notes, and snippets.

@kchandan
Created November 13, 2017 04:58
Show Gist options
  • Save kchandan/b3d688a3798a0461f0a2217c83098521 to your computer and use it in GitHub Desktop.
Save kchandan/b3d688a3798a0461f0a2217c83098521 to your computer and use it in GitHub Desktop.
cmd
cd /home/iso
ISOFILE=$PWD.iso
PACKAGER="Chandan"
ISONAME="CentOS 6.5"
ISODATE="`date -I`"
sudo mkisofs -r -R -J -T -v -no-emul-boot \
    -boot-load-size 4 \
    -boot-info-table \
    -V "$ISONAME" \
    -p "$PACKAGER" \
    -A "$ISONAME - $ISODATE" \
    -b isolinux/isolinux.bin \
    -c isolinux/boot.cat \
    -x "lost+found" \
    --joliet-long \
    -o $ISOFILE .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment