You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-2
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,33 @@
1
1
# Patch OpenBSD bsd.rd with auto_install.conf & rc.firsttime
2
2
3
+
This is a very simple script that is used to create custom installation cd's and bsd.rd images for OpenBSD to be used with online provides (such as Vultr) to deploy fully configured instances.
4
+
3
5
The script does the following:
4
6
* Downloads a bsd.rd image from an openbsd mirror
5
7
* Extracts the filesystem portion of the ramdisk
6
8
* Mount the filesystem
7
9
* Patch the filesystem with auto_install
8
10
* Put the filesystem back into bsd.rd
9
11
* Create a `siteXX.tgz` with `rc.firsttime`
10
-
* Create a bootable cd with the modified `bsd.rd` and `siteXX.tgz`
12
+
* Create a bootable ISO with the modified `bsd.rd` and `siteXX.tgz`
11
13
12
14
In order to preserve size the auto install configuration uses the 1st http
13
-
mirror and then uses the siteXX.tgz from the created CD. This way our CD and
15
+
mirror and then uses the `siteXX.tgz` from the created CD. This way our CD and
14
16
`bsd.rd` are almost the same size.
15
17
18
+
NOTE: The script is really at its infantry and there is no error checking implemented currently.
19
+
20
+
## Using
21
+
* Clone the repo
22
+
* Change into the cloned repo and create a folder `fs/`
23
+
* Update `auto_install.conf` with a desired information about your specific install
24
+
* Place any files you want included into your images (usually `install.site` and `rc.firsttime`)
0 commit comments