summaryrefslogtreecommitdiff
path: root/distro/centos/install.sh
blob: 6b6d88ce7a1d13666c62475eaa7e8e57022f5456 (plain)
1
2
3
4
5
6
7
8
install_live() {
	mount_iso
	install -d "$DATADIR/centos/" "$KERNELDIR/centos/$version"
	cp "$ISOPATH/$ISOFILE" "$DATADIR/centos/"
	cp "$ISOMNT/images/pxeboot/vmlinuz" "$ISOMNT/images/pxeboot/initrd.img" "$KERNELDIR/centos/$version"
	umount_iso
}