summaryrefslogtreecommitdiffstats
path: root/rescue/make_partimage_save_rest_all
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/make_partimage_save_rest_all')
-rwxr-xr-xrescue/make_partimage_save_rest_all8
1 files changed, 5 insertions, 3 deletions
diff --git a/rescue/make_partimage_save_rest_all b/rescue/make_partimage_save_rest_all
index 93c4e463f..609ee60b2 100755
--- a/rescue/make_partimage_save_rest_all
+++ b/rescue/make_partimage_save_rest_all
@@ -24,6 +24,8 @@ PARTIMAGE_DIR="$where" PARTIMAGE_RPM=$rpm DISTRIB_DESCR="partimage save/restore
mkdir -p .tmp/install/stage2
mv -f rescue.clp .tmp/install/stage2
+common_para="rescue automatic=method:cdrom"
+
for action in save_all rest_all; do
cat <<EOF > .tmp/isolinux/isolinux.cfg
@@ -33,13 +35,13 @@ timeout 150
label save_all
kernel vmlinuz
- append initrd=all.rdz rescue save_all automatic=method:cdrom
+ append initrd=all.rdz $common_para save_all
label rest_all
kernel vmlinuz
- append initrd=all.rdz rescue keepmounted rest_all automatic=method:cdrom
+ append initrd=all.rdz keepmounted rest_all
label rescue
kernel vmlinuz
- append initrd=all.rdz rescue automatic=method:cdrom
+ append initrd=all.rdz
EOF
if [ $action = rest_all ]; then