dustymabe changed the topic of #fedora-coreos to: Fedora CoreOS :: Find out more at https://getfedora.org/coreos/ :: Logs at https://libera.irclog.whitequark.org/fedora-coreos
mheon has quit [Ping timeout: 255 seconds]
baaash[m] has joined #fedora-coreos
fifofonix has quit [Ping timeout: 256 seconds]
<baaash[m]> what tool should i be using to pre-bestow certain packages onto a coreos image? I can get most of the configuration I need with my butane/ignition config but at a loss as to how to add packages to the image. I understand I can use rpm-ostree install once i've booted into the system, but that's after the fact... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/80cc1f2b14ce3d13223adfa607379aefb2e73cd1>)
fifofonix has joined #fedora-coreos
fifofonix has quit [Ping timeout: 248 seconds]
plarsen has quit [Remote host closed the connection]
gursewak has quit [Ping timeout: 256 seconds]
paragan has joined #fedora-coreos
gursewak has joined #fedora-coreos
mnguyen has quit [Ping timeout: 260 seconds]
daMaestro has joined #fedora-coreos
plundra has quit [Remote host closed the connection]
plundra has joined #fedora-coreos
mnguyen has joined #fedora-coreos
jcajka has joined #fedora-coreos
Betal has quit [Quit: WeeChat 3.7.1]
saschagrunert has joined #fedora-coreos
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 248 seconds]
c4rt0 has joined #fedora-coreos
<travier[m]> baaash: Short answer: it's not easy yet but we're working on it. Container native ostree should let you change Fedora CoreOS to you liking once it's ready but right now you can only add to it not remove from it. We also don't have a good way to provide pre-build images so you have to install using the current images and then rebase to your custom image build.
jpn has joined #fedora-coreos
aleskandro[m] has joined #fedora-coreos
jpn has quit [Ping timeout: 260 seconds]
<aleskandro[m]> hi, where can I find a list of the supported kernel arguments that ignition parses? I'm looking for a way to provide the ignition configuration without requiring other hosts (e.g., local file in one of the FSs), is there any?
<aleskandro[m]> * requiring other reachable hosts (e.g.,
<aleskandro[m]> is this the only local possibility? https://github.com/coreos/ignition/blob/main/internal/distro/distro.go#L32
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 246 seconds]
<travier[m]> aleskandro: You can write your ignition config in /boot like coreos-installer does
<aleskandro[m]> travier: thanks, any link about that? Any /boot/filename.ign? how can I instruct ignition to take care of it in the kernel args?
<travier[m]> aleskandro: I can not find the docs. Not sure we document that. Let's wait for US folks to wake up
<aleskandro[m]> 👍️
daMaestro has quit [Quit: Leaving]
jpn has joined #fedora-coreos
vgoyal has joined #fedora-coreos
jpn has quit [Ping timeout: 260 seconds]
ravanelli has joined #fedora-coreos
mock has quit [Ping timeout: 260 seconds]
mockgeek has joined #fedora-coreos
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 255 seconds]
c4rt0 has quit [Ping timeout: 252 seconds]
mockgeek is now known as mock
jpn has joined #fedora-coreos
<queeup[m]> aleskandro: as far as I know this is it:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/9332d41436e729ef9211d16d6d46a6b6b43cd08c>)
<queeup[m]> If you want to put it use should_exist, if you want to erase it from kargs use should_not_exist
jpn has quit [Ping timeout: 252 seconds]
<aleskandro[m]> Hi queeup , I want to pass the ignition filepath (not url) via kernel command line (or similar). Looking in the code I found that I could pass ignition.platform.id=file (https://github.com/coreos/ignition/blob/5667e9f1cacaa84af6581f81e1cb8079033b8216/internal/platform/platform.go#L208)
<aleskandro[m]> to use the file provider and the provider would look for /config.ign in the initramfs. https://github.com/coreos/ignition/blob/0cbe33fee45d012515479a88f0fe94ef58d5102b/internal/providers/file/file.go#L29-L30.
<aleskandro[m]> It's also possible to patch the path of the ignition config file to be another through an env variable (for example set by the ignition-generator), but some of the units need to start before any other file system is mounted (otherwise, we might not be able to work on the disks via ignition). So it's still in the initrd that I can provide "local" ignition files.
<aleskandro[m]> what travier was talking about is maybe this https://github.com/coreos/coreos-installer/blob/main/docs/iso-embed-ignition.md which chains an additional initrd image
<queeup[m]> Yea: This is how I customize my iso images with my own ignition to put on it:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/c4d5228517f5f972419f4d47c43fae4f6b7e9e06>)
<aleskandro[m]> and if i understand correctly, it fills the additional initrd so that when you boot, you'll get the config.ign file set to provision the host with the content of your myconfig.ign
jpn has joined #fedora-coreos
<queeup[m]> I don't know the technical details but When I put myconfig.ign to iso if I boot it It start installing and provision my config.
saschagrunert has quit [Quit: Leaving]
c4rt0 has joined #fedora-coreos
mheon has joined #fedora-coreos
<travier[m]> aleskandro: You're re'making something that we already have and does that by pulling the config from the /boot partition
<travier[m]> s/'/-/
<travier[m]> I'd recommend making an installation via the LiveISO with an Ignition and then looking at the content of the partitions to see where the config is stored until we link the details here
<aleskandro[m]> > Yea: This is how I customize my iso images with my own ignition to put on it:... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/712c8109488256f8666aec2a7061bc648ddf46d6>)
<travier[m]> This embeds an ignition configuration inside an ISO
<travier[m]> What I mean is booting a default live iso, manually doing the installation via coreos-installer and then looking at the boot partition content
<aleskandro[m]> 👍️
fifofonix has joined #fedora-coreos
<dustymabe> jlebon: do you want to check the most recent upload I did on https://github.com/coreos/fedora-coreos-tracker/pull/1331 ?
plarsen has joined #fedora-coreos
Betal has joined #fedora-coreos
paragan has quit [Quit: Leaving]
<jlebon> dustymabe: reviewed
c4rt0 has quit [Ping timeout: 268 seconds]
plarsen has quit [Remote host closed the connection]
plarsen has joined #fedora-coreos
jpn has quit [Ping timeout: 256 seconds]
<jaimelm> travier[m]: You coming to the OKD meeting?
<travier[m]> jaimelm: whoops, joining
jcajka has quit [Quit: Leaving]
<travier[m]> jaimelm: I get "invalid passcode" :/
c4rt0 has joined #fedora-coreos
c4rt0 has quit [Ping timeout: 268 seconds]
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 268 seconds]
c4rt0 has joined #fedora-coreos
hyperreal has joined #fedora-coreos
c4rt0 has quit [Ping timeout: 265 seconds]
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 255 seconds]
ravanelli has quit [Remote host closed the connection]
fifofonix has quit [Read error: Connection reset by peer]
<baaash[m]> <travier[m]> "See https://github.com/coreos/..."; <- thank you for your reply. I appreciate the complexity involved, and all the work put in to this project. The Ansible route will suffice, and the anisble-firewalld example, from the link you shared, demonstrates what needs to be done very clearly. thanks again.
c4rt0 has joined #fedora-coreos
jpn has joined #fedora-coreos
rishabhsaini has joined #fedora-coreos
rishabhsaini has left #fedora-coreos [#fedora-coreos]
jpn has quit [Ping timeout: 260 seconds]
hyperreal has quit [Quit: The Lounge - https://thelounge.chat]
c4rt0 has quit [Ping timeout: 264 seconds]
travisghansen has quit [Ping timeout: 268 seconds]
travisghansen has joined #fedora-coreos
ravanelli has joined #fedora-coreos
ravanelli has quit [Ping timeout: 265 seconds]
mheon has quit [Ping timeout: 246 seconds]
ravanelli has joined #fedora-coreos