Re: PXE auto_install
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 - 1.775 +++ install.sub 19 Jun 2014 22:07:39 - @@ -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
PXE auto_install
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
Re: PXE auto_install
On 24 June 2014 11:10, ML mail mlnos...@yahoo.com 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? bsd.mp should be copied and used by default on systems with 1 CPU. There is no way I know of to force bsd.mp to be used on uniprocessor systems, although it can be copied to the target system. 2) how can I custom partition my disk (I would like 1 partition for root and one for swap) ? At the moment you can't. Ken Regards ML
Re: PXE auto_install
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 - 1.775 +++ install.sub 19 Jun 2014 22:07:39 - @@ -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