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
cmd/run: Use sysctl.d dropin instead of service #128
Conversation
Let's label this WIP until it merges in ignition and makes it into fedora |
This one should be good to go now that the sysctl patch was backported! |
assigned myself as reviewer |
{ | ||
"filesystem": "root", | ||
"path": "/etc/sysctl.d/10-coreos.conf", | ||
"contents": { "source": "data:,kernel.printk%20=%203%204%201%207%0A" }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
really dumb question. It's ascii encoded and not base64 encoded. Is there a tool you use for that? for base64 it's easy with base64
cli utility.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wrote it by hand like a caveman. :) I do prefer URL encoding for smaller strings like this since you can kinda make it out still. With base64 you basically have to pass it through to understand it. In this case, I'm open to just dynamically calling base64
if you prefer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
haha no no.. I was just wondering if there was an actual tool you used because I felt like I should know of one.
"storage": { | ||
"files": [ | ||
{ | ||
"filesystem": "root", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wish we could have comments in json files so we could explain why we did this without looking back at git history.
LGTM! |
Requires: coreos/ignition#639