summaryrefslogtreecommitdiff
path: root/distro/centos
diff options
context:
space:
mode:
Diffstat (limited to 'distro/centos')
-rw-r--r--distro/centos/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/distro/centos/install.sh b/distro/centos/install.sh
index a06d388..6b6d88c 100644
--- a/distro/centos/install.sh
+++ b/distro/centos/install.sh
@@ -1,7 +1,7 @@
install_live() {
mount_iso
install -d "$DATADIR/centos/" "$KERNELDIR/centos/$version"
- cp "isofiles/$ISOFILE" "$DATADIR/centos/"
+ cp "$ISOPATH/$ISOFILE" "$DATADIR/centos/"
cp "$ISOMNT/images/pxeboot/vmlinuz" "$ISOMNT/images/pxeboot/initrd.img" "$KERNELDIR/centos/$version"
umount_iso
}