From 6a20507f950483f2adc68bab42a22bf5e7e8c683 Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Wed, 1 Jul 2020 21:49:04 +0800 Subject: replace "$ISOPATH/$ISOFILE" with "${ISO_FILEPATH}" in install_live This is for metaiso install script in the future. --- distro/centos/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'distro/centos') 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 } -- cgit v1.2.3