diff options
author | Iru Cai <mytbk920423@gmail.com> | 2017-03-18 10:44:38 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2017-03-18 10:44:38 +0800 |
commit | d4c06b7c6405746fd81697736bce12406a32cac7 (patch) | |
tree | f3bd768b4e32af64fa46c4bdb2d7df7c5b788a3b /distro/centos/install.sh | |
parent | 3a9c2f9e8bcd7db1c1d86a2e5995cc8a7228ad49 (diff) | |
download | liveusb-builder-d4c06b7c6405746fd81697736bce12406a32cac7.tar.xz |
distro: add CentOS
Based on Fedora and https://wiki.archlinux.org/index.php/Multiboot_USB_drive#CentOS.
Diffstat (limited to 'distro/centos/install.sh')
-rw-r--r-- | distro/centos/install.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/distro/centos/install.sh b/distro/centos/install.sh new file mode 100644 index 0000000..a06d388 --- /dev/null +++ b/distro/centos/install.sh @@ -0,0 +1,8 @@ +install_live() { + mount_iso + install -d "$DATADIR/centos/" "$KERNELDIR/centos/$version" + cp "isofiles/$ISOFILE" "$DATADIR/centos/" + cp "$ISOMNT/images/pxeboot/vmlinuz" "$ISOMNT/images/pxeboot/initrd.img" "$KERNELDIR/centos/$version" + umount_iso +} + |