|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
customize install cd
hello, i ve OpenBSD 4.4 CD.
I want to customize install. i ve seen it is possible with an answer file : dot.profile and a custom package : site44.tgz. I ve read the faq at : 4.13-14 But i don't understand how to do that. If someone can help me. Thank's ! |
|
||||
It's easy.
You create a site*.tgz file that includes any or all local modifications you want to have in your systems. There are only two skills required:
Step 1. Learn what files are included with each package: Step 2. Create the site file. In this example, it includes /etc/passwd, /home, the specific files that make up these packages, and their entries from /var/db/pkg: Code:
# tar czf /path/to/mystuff/site44.tgz /etc/passwd /home \ /usr/local/bin/screen \ /usr/local/info/screen.* \ /usr/local/man/man1/screen.1 \ /usr/local/share/examples/screen \ /usr/local/share/screen \ /usr/local/bin/tcsh \ /usr/local/man/man1/tcsh.1 \ /usr/local/share/nls/*/tcsh.cat \ /var/db/pkg/screen-4.0.3p1 \ /var/db/pkg/tcsh-6.15.00 |
|
|||
Last year I used the following install.site script for a box called 'hercules'.
Code:
#!/bin/sh . ./install.site.hercules 2>&1 | tee ./install.report Some snippets from the actual 'install.site.hercules' script which does the real work.
CAVEAT: Please keep in mind that these snippets are tailored to OBSD 4.2 current of August 2007. So they are a year old and thus some of them will need to be modified to work on the just released 4.4. I just show them here to give you some ideas
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
thank's!
But if i want to custom my openbsd 4.4 cd (to build a firewall), where i need to put my site44.tgz and .profile before burn?? what is the steps ? Last edited by milo974; 6th November 2008 at 05:24 AM. |
|
|||
Jggimi, I do use the site*.tgz install technique.
The install.site script is inside the site*.tgz file. This site*.tgz file is unpacked at the end of the install. As a result the install.site script is located at the "/" directory, and thus the following quote from the OpenBSD FAQ/installation guide is applicable Quote:
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
Quote:
The .profile can either be inside the site44.tgz file or you can modify it like I did in the install.site file, shown in my first post. Before wasting too much time with burning CD's I would recommend to set up a local FTP server, put all installation filesets including your site44.tgz file on it and use that ftp server during your test installs. While testing you even don't need a CD at all. Just use the bsd.rd install technique described in http://openbsd.org/faq/faq4.html#bsd.rd.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
Tags |
install.site, sitexx.tgz |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OBSD 4.3 Customize site43 & install.site problems | gamaliel | OpenBSD Installation and Upgrading | 7 | 3rd June 2008 03:25 PM |