Comments (1)
@andrew415 I take it you're referring to my post in coreos/bugs#261 . The source code I used for generating a tamper-resistant bootloader (if used as described in coreos/bugs#261 ) can be found in the https://github.com/SojournLabs/vapr repository. There are wrappers there for using the contents of the Sojournlabs/netboot repo (and several other tools we use for our systems). The script in the vapr /bin directory that you're most likely interested in is recore
(modifies a CoreOS IPXE disk image to add FDE). I can't recall, but you may need to do some configuration of things before hand since we sign all our disk images (ca_create
for our certificate authority and cert_create
for code signing, amongst others).
If you're happy repackaging your boot image manually (or aren't using IPXE), the files we inserted into the systemd loader are are in here: https://github.com/SojournLabs/netboot/tree/master/recore.docker/profiles.
Specifically, you want the btrfs.mount
target and the reformat.sh
script to format your disk.
I don't specifically recommend IPXE; I happened to choose IPXE booting because I wanted to "freeze" the boot disk image for simplicity (so that there's no "out of date" USB boot disks). As you can tell from our netboot source, our boot disks simply contain our custom CA and a list of web mirrors to download our signed and modified CoreOS from.
edit: You'll also need to add the mount and encryption targets from https://github.com/SojournLabs/netboot/tree/master/recore.docker/profiles/bootserver/lib64/systemd/system in your custom boot image.
from ambassador.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ambassador.