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

cmd/run: Use sysctl.d dropin instead of service #128

Merged
merged 1 commit into from Oct 11, 2018

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Sep 27, 2018

@dustymabe
Copy link
Member

Let's label this WIP until it merges in ignition and makes it into fedora

@dustymabe dustymabe added the WIP PR still being worked on label Sep 27, 2018
@dustymabe dustymabe changed the title cmd/run: Use sysctl.d dropin instead of service WIP: cmd/run: Use sysctl.d dropin instead of service Sep 27, 2018
@jlebon
Copy link
Member Author

jlebon commented Oct 10, 2018

This one should be good to go now that the sysctl patch was backported!

@jlebon jlebon removed the WIP PR still being worked on label Oct 10, 2018
@jlebon jlebon changed the title WIP: cmd/run: Use sysctl.d dropin instead of service cmd/run: Use sysctl.d dropin instead of service Oct 10, 2018
@dustymabe dustymabe self-requested a review October 10, 2018 22:23
@dustymabe
Copy link
Member

assigned myself as reviewer

{
"filesystem": "root",
"path": "/etc/sysctl.d/10-coreos.conf",
"contents": { "source": "data:,kernel.printk%20=%203%204%201%207%0A" },
Copy link
Member

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.

Copy link
Member Author

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.

Copy link
Member

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",
Copy link
Member

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.

@dustymabe
Copy link
Member

LGTM!

@dustymabe dustymabe merged commit 5afc290 into coreos:master Oct 11, 2018
@jlebon jlebon deleted the pr/use-sysctl-dropin branch July 6, 2020 20:33
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.

None yet

2 participants