{"action":"created","issue":{"url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/1629","repository_url":"https://api.github.com/repos/projectatomic/rpm-ostree","labels_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/1629/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/1629/comments","events_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/1629/events","html_url":"https://github.com/projectatomic/rpm-ostree/issues/1629","id":372209623,"node_id":"MDU6SXNzdWUzNzIyMDk2MjM=","number":1629,"title":"initramfs: modifying embedded dracut args used","user":{"login":"dustymabe","id":4530030,"node_id":"MDQ6VXNlcjQ1MzAwMzA=","avatar_url":"https://avatars2.githubusercontent.com/u/4530030?v=4","gravatar_id":"","url":"https://api.github.com/users/dustymabe","html_url":"https://github.com/dustymabe","followers_url":"https://api.github.com/users/dustymabe/followers","following_url":"https://api.github.com/users/dustymabe/following{/other_user}","gists_url":"https://api.github.com/users/dustymabe/gists{/gist_id}","starred_url":"https://api.github.com/users/dustymabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustymabe/subscriptions","organizations_url":"https://api.github.com/users/dustymabe/orgs","repos_url":"https://api.github.com/users/dustymabe/repos","events_url":"https://api.github.com/users/dustymabe/events{/privacy}","received_events_url":"https://api.github.com/users/dustymabe/received_events","type":"User","site_admin":false},"labels":[{"id":71731342,"node_id":"MDU6TGFiZWw3MTczMTM0Mg==","url":"https://api.github.com/repos/projectatomic/rpm-ostree/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-20T13:06:47Z","updated_at":"2018-10-22T17:19:33Z","closed_at":null,"author_association":"COLLABORATOR","body":"In my testing for https://pagure.io/atomic-wg/issue/513 I hit a case where I wanted to remove `iscsi-initiator-utils` from a machine and then regenerate the initramfs so that the iscsi dracut module would not get included in the initramfs. However, currently in fedora we add `--add iscsi` to the [dracut args in the manifest file](https://pagure.io/fedora-atomic/blob/master/f/fedora-atomic-host.json#_14).\r\n\r\nWith `rpm-ostree initramfs` I see `--arg=ARG             Append ARG to the dracut arguments` but I don't know how to remove an argument that was embedded as part of the treecompose. Is this possible to do? "},"comment":{"url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/comments/431904069","html_url":"https://github.com/projectatomic/rpm-ostree/issues/1629#issuecomment-431904069","issue_url":"https://api.github.com/repos/projectatomic/rpm-ostree/issues/1629","id":431904069,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTkwNDA2OQ==","user":{"login":"dustymabe","id":4530030,"node_id":"MDQ6VXNlcjQ1MzAwMzA=","avatar_url":"https://avatars2.githubusercontent.com/u/4530030?v=4","gravatar_id":"","url":"https://api.github.com/users/dustymabe","html_url":"https://github.com/dustymabe","followers_url":"https://api.github.com/users/dustymabe/followers","following_url":"https://api.github.com/users/dustymabe/following{/other_user}","gists_url":"https://api.github.com/users/dustymabe/gists{/gist_id}","starred_url":"https://api.github.com/users/dustymabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dustymabe/subscriptions","organizations_url":"https://api.github.com/users/dustymabe/orgs","repos_url":"https://api.github.com/users/dustymabe/repos","events_url":"https://api.github.com/users/dustymabe/events{/privacy}","received_events_url":"https://api.github.com/users/dustymabe/received_events","type":"User","site_admin":false},"created_at":"2018-10-22T17:19:32Z","updated_at":"2018-10-22T17:19:32Z","author_association":"COLLABORATOR","body":"Thanks @jlebon. I worked around this weekend by just running dracut manually and editing grub (this was a short term test so that hack worked for me at the time). I wonder if the `--editor` option might be an option here similar to the `rpm-ostree kargs`. Can you think of the optimal design we may use to implement this? If we add the design here in the ticket someone might be able to easily pick it up. "}}
{"actor":{"display_login":"dustymabe"}}