summaryrefslogtreecommitdiff
path: root/distro/centos/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'distro/centos/install.sh')
-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 6b6d88c..fd42abf 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 "$ISOPATH/$ISOFILE" "$DATADIR/centos/"
+ cp "${ISO_FILEPATH}" "$DATADIR/centos/"
cp "$ISOMNT/images/pxeboot/vmlinuz" "$ISOMNT/images/pxeboot/initrd.img" "$KERNELDIR/centos/$version"
umount_iso
}