Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud-Init and OpenBSD 6.6 #2

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open

Cloud-Init and OpenBSD 6.6 #2

wants to merge 27 commits into from

Conversation

goneri
Copy link

@goneri goneri commented Dec 28, 2019

Thank you for this great work. I was looking for easy way to build OpenBSD image, and pcib is really handy!

I use the following branch to build OpenBSD 6.6 image for OpenStack. My changes are not really clean and, so I don't think the branch should be merge as-is.

Adjust the growfs generation to support OpenBSD 6.6. This also probably
breaks the support of OpenBSD <= 6.0.
Do not hardcode the name of the disk device.
Save the install mirror in the /etc/installurl file.
Install cloud-init from my development branch.
@goneri goneri force-pushed the master branch 3 times, most recently from 251f5ef to 6e50934 Compare December 29, 2019 19:35
We now just patch an existing bsdrd image. This speed up a lot the
image generation. The change is done using a patched version of
`upobsd`.

See: https://bitbucket.org/semarie/upobsd/
@goneri goneri force-pushed the master branch 3 times, most recently from 76ddcdd to 754c630 Compare March 29, 2020 16:28
Since 6.9, the bsd.rd is a gzipped file.
- do not modify the system /etc/rc.
- print the logs in the serial console
Previously the file was recording the location of the $TARGET
directory:

```
openbsd-70# cat /var/db/kernel.SHA256
SHA256 (/var/cache/pcib/work/l041yc/target/bsd) = 0066972f723c470c6029e30174ce89f5978cf4f3ee625a5f6e0c95812cd566f1
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant