|
@@ -31,8 +31,7 @@ menu ${os} ${os_arch} boot type
|
|
|
item graphical ${ova} graphical installer
|
|
|
item text ${ova} text based installer
|
|
|
item rescue ${ova} rescue
|
|
|
-item kickstart ${ova} set kickstart url [ ${ksurl} ]
|
|
|
-item kickstart_device ${ova} set ksdevice [ ${ksdevice} ]
|
|
|
+item kickstart ${ova} set kickstart url [ ${ks_url} ]
|
|
|
isset ${bt} || choose bt || goto centos
|
|
|
echo ${cls}
|
|
|
iseq ${bt} text && goto text ||
|
|
@@ -41,8 +40,12 @@ iseq ${bt} kickstart && goto kickstart ||
|
|
|
iseq ${bt} kickstart_device && goto kickstart_device ||
|
|
|
goto bootos_images
|
|
|
|
|
|
+:graphical
|
|
|
+set install_mode inst.graphical ||
|
|
|
+goto bootos_images
|
|
|
+
|
|
|
:text
|
|
|
-set params inst.text ||
|
|
|
+set install_mode inst.text ||
|
|
|
goto bootos_images
|
|
|
|
|
|
:rescue
|
|
@@ -50,14 +53,8 @@ set params rescue ||
|
|
|
goto bootos_images
|
|
|
|
|
|
:kickstart
|
|
|
-echo -n Specify kickstart URL for ${os} ${osversion}: && read ksurl
|
|
|
-set params inst.ks=${ksurl} ||
|
|
|
-clear bt
|
|
|
-goto boottype
|
|
|
-
|
|
|
-:kickstart_device
|
|
|
-echo -n Specify ksdevice param for ${os} ${osversion}: && read ksdevice
|
|
|
-set ksdevice ${ksdevice} ||
|
|
|
+echo -n Specify kickstart URL for ${os} ${osversion}: && read ks_url
|
|
|
+set params inst.ks=${ks_url} ||
|
|
|
clear bt
|
|
|
goto boottype
|
|
|
|
|
@@ -66,7 +63,7 @@ imgfree
|
|
|
iseq ${osversion} 9-stream && set centos_mirror http://mirror.rackspace.com/centos-stream ||
|
|
|
iseq ${osversion} 9-stream && set dir ${osversion}/BaseOS/${os_arch}/os ||
|
|
|
iseq ${osversion} 9-stream && set repo ${centos_mirror}/${dir} ||
|
|
|
-kernel ${centos_mirror}/${dir}/images/pxeboot/vmlinuz inst.repo=${repo} ${params} ${ipparam} {{ kernel_params }}
|
|
|
+kernel ${centos_mirror}/${dir}/images/pxeboot/vmlinuz inst.repo=${repo} ${install_mode} ${params} ${params} ${ipparam} {{ kernel_params }}
|
|
|
initrd ${centos_mirror}/${dir}/images/pxeboot/initrd.img
|
|
|
echo
|
|
|
echo MD5sums:
|