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.sh8
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
+}
+