Skip to content

It allows an Ubuntu ISO to be customised and repacked to create a new ISO.

Notifications You must be signed in to change notification settings

duzhanyuan/isobuilder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

isobuilder

It allows an Ubuntu desktop ISO to be customised and repacked to create a new ISO. It should be run from a system that has the same version as the one you want to build.

When copying files, it uses rsync and only permissions are preserved. The user and the group will be set as the destination user and group.

Usage

Usage: isobuilder [OPTION]... isofile.iso
  -o <file.iso>   output iso file path (default: ./output.iso)
  -w <workdir>    working directory used internally
                  and cleaned when terminated (default: /root/.cache/isobuilder)
  -p <file/dir>   push or replace file/directory in iso (form <file/dir> to copy at root in iso or <file/dir>:<dest>)
                  (can be used multiple times)
  -f <file/dir>   add file/directory to chroot (form <file> to copy at root or <file/dir>:<dest>)
                  (can be used multiple times)
  -c <command>    run command in chroot (can be used multiple times)
  -s <script.sh>  play script in chroot (can be used multiple times)
  -i              interactive chroot (quit with exit)
  -v              verbose mode
  -h              display help

Docker

// Display help
docker run -it --rm --privileged -v $(pwd)/ubuntu-18.04.2-desktop-amd64.iso:/root/ubuntu.iso lobre/isobuilder -h

// Add kickstart and new boot option in txt.cfg
docker run -it --rm --privileged -v $(pwd):/root/workdir lobre/isobuilder -p "ks.cfg" -p "txt.cfg:isolinux/txt.cfg" -- ubuntu.iso

About

It allows an Ubuntu ISO to be customised and repacked to create a new ISO.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 96.5%
  • Dockerfile 3.5%