Thanks for the hack, I guess I will wait for this or a similar solution being 
implemented into the installer, which hopefully will happen. 




On Tuesday, June 24, 2014 9:05 PM, Jiri B <ji...@devio.us> wrote:
On Tue, Jun 24, 2014 at 08:10:59AM -0700, ML mail wrote:
> Hi,
> 
> The new OpenBSD auto_install with PXE works like a charm and just have 2 
> questions regarding the install.conf file I did not manage to find out yet:
> 
> 1) how can I install the bsd.mp instead of the standard bsd image?
> 2) how can I custom partition my disk (I would like 1 partition for root and 
> one for swap) ?
> 
> Regards
> ML

2 - ugly hack, not tested yet.

j.

This would allow to get customized install.md where one can define
md_prep_fdisk() and/or md_prep_disklabel() functions.

Index: install.sub
===================================================================
RCS file: /cvs/src/distrib/miniroot/install.sub,v
retrieving revision 1.775
diff -u -p -r1.775 install.sub
--- install.sub 9 Jun 2014 18:05:55 -0000       1.775
+++ install.sub 19 Jun 2014 22:07:39 -0000
@@ -2134,6 +2134,14 @@ get_responsefile() {
                        ftp -o "/$_mode.conf" "http://$_server/$_f.conf"; &&
                                action=$_mode && return 0
                done
+               if [[ $_mode = "install" ]]; then
+                       for _f in {$_mac-,}install; do
+                               ftp -o "/install.md" "http://$_server/$_f.md"; \
+                                       && action=$_mode \
+                                       && . install.md \
+                                       && return 0
+                        done



+                fi
        fi

        # No response file found

Reply via email to