uuid-iso: use method=cdrom,fuid:<UUID>

method=disk has a number of unsolved problems in the installer.
This commit is contained in:
Anton Midyukov 2021-04-14 01:35:42 +07:00
parent e3c607ed96
commit 52e90c264d

View File

@ -12,9 +12,9 @@ cd "$WORKDIR"
[ -n "$GLOBAL_UUID_ISO" ] || exit 0 [ -n "$GLOBAL_UUID_ISO" ] || exit 0
if [ -n "$(find $scfg)" ]; then if [ -n "$(find $scfg)" ]; then
sed -i "s/automatic=method:cdrom/automatic=method:disk,uuid:$GLOBAL_UUID_ISO/" $scfg sed -i "s/automatic=method:cdrom/automatic=method:cdrom,fuid:$GLOBAL_UUID_ISO/" $scfg
fi fi
if [ -f "$gcfg" ]; then if [ -f "$gcfg" ]; then
sed -i "s/automatic=method:cdrom/automatic=method:disk,uuid:$GLOBAL_UUID_ISO/" $gcfg sed -i "s/automatic=method:cdrom/automatic=method:cdrom,fuid:$GLOBAL_UUID_ISO/" $gcfg
fi fi