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
d10n has quit [Ping timeout: 276 seconds]
d10n has joined #fedora-coreos
troglodi1o is now known as troglodito
paragan has joined #fedora-coreos
ravanell_ has joined #fedora-coreos
ravanelli has quit [Ping timeout: 255 seconds]
allison has joined #fedora-coreos
davdunc[m has quit [*.net *.split]
JayDoubleu__ has quit [*.net *.split]
sgallagh has quit [*.net *.split]
obudai[m] has quit [*.net *.split]
ramcq[m] has quit [*.net *.split]
spresti[m] has quit [*.net *.split]
defolos has quit [*.net *.split]
JayDoubleu__ has joined #fedora-coreos
defolos has joined #fedora-coreos
davdunc[m has joined #fedora-coreos
spresti[m] has joined #fedora-coreos
ramcq[m] has joined #fedora-coreos
sgallagh has joined #fedora-coreos
obudai[m] has joined #fedora-coreos
saschagrunert has joined #fedora-coreos
Betal has quit [Quit: WeeChat 3.8]
jcajka has joined #fedora-coreos
apiaseck has joined #fedora-coreos
paragan has quit [Quit: Leaving]
jpn has joined #fedora-coreos
allison is now known as lis_
lis_ is now known as lis
ravanell_ has quit [Remote host closed the connection]
ravanelli has joined #fedora-coreos
ikonia_ has quit [Ping timeout: 255 seconds]
ikonia_ has joined #fedora-coreos
fifofonix has joined #fedora-coreos
fifofonix has quit [Ping timeout: 255 seconds]
vgoyal has joined #fedora-coreos
jpn has quit [Ping timeout: 246 seconds]
nalind has joined #fedora-coreos
plarsen has joined #fedora-coreos
ravanell_ has joined #fedora-coreos
ravanelli has quit [Ping timeout: 252 seconds]
jpn has joined #fedora-coreos
jpn has quit [Ping timeout: 255 seconds]
jlebon has joined #fedora-coreos
baude has joined #fedora-coreos
jpn has joined #fedora-coreos
ravanell_ has quit [Remote host closed the connection]
<baude> i know bgilbert does not come around for a while yet, but i was curious if others might know how I can write some files to the real rootfs from ignition itself. I do not mean from its config. I mean content from the binary ignition itself.
<dustymabe> baude: the Ignition files stage writes files into the real rootfs so maybe look to that area for an example?
<jlebon> baude: how you'd normally do it in golang. :) the only special thing is you'd prefix the path with s.DestDir. see e.g. the code that writes systemd presets
<dustymabe> listen to jlebon
<jlebon> i guess there's also the logging bit. grep for `s.Logger.LogOp`
<jlebon> walters: good if i take over https://github.com/ostreedev/ostree/issues/2670 ?
<dustymabe> ❤️
mheon has joined #fedora-coreos
ravanelli has joined #fedora-coreos
<baude> jlebon, tyvm
<jlebon> SumantroMukherje: let me know if you need any help creating the new test cases! :)
<SumantroMukherje> jlebon: I have been adding the new ones here https://github.com/coreos/fedora-coreos-tracker/issues/1445
<SumantroMukherje> would be great to have them reviewed
<SumantroMukherje> and then we can publish them to the test day app
<walters> jlebon: sure
<baude> jlebon, wfym there is also the logging bits ... are you suggesting that i should log the writes as well ?
<baude> or do both ... inside the logop func
saschagrunert has quit [Remote host closed the connection]
bgilbert has joined #fedora-coreos
Betal has joined #fedora-coreos
<jlebon> baude: yeah, ignition usually logs the writes it does to the rootfs. but i guess it depends on what you're doing. if it's some deep implementation detail, maybe it doesn't make sense
<jlebon> e.g. if it's just a temporary file to then run some cmd in the rootfs
jcajka has quit [Quit: Leaving]
fifofonix has joined #fedora-coreos
bgilbert has quit [Ping timeout: 268 seconds]
<dustymabe> pwhalen: pbrobinson: please test out and give karma to https://bodhi.fedoraproject.org/updates/FEDORA-2023-bb12d0efe6 (ssh key migration fix)
<pwhalen> ah nice, thanks dusty, will do so very shortly
<pbrobinson> dustymabe++ thx
<zodbot> pbrobinson: Karma for dustymabe changed to 3 (for the current release cycle): https://badges.fedoraproject.org/tags/cookie/any
jpn has quit [Ping timeout: 260 seconds]
bgilbert has joined #fedora-coreos
jpn has joined #fedora-coreos
gursewak has joined #fedora-coreos
jpn has quit [Ping timeout: 260 seconds]
jpn has joined #fedora-coreos
nb has quit [Quit: The Lounge - https://thelounge.chat]
nb has joined #fedora-coreos
<baude> hey bgilbert i was asking earlier but am not quite understanding; are you up for helping me get the hyperv pr across the finish line? I think at this point, I just need to learn to do the writing to the rootfs
jpn has quit [Ping timeout: 255 seconds]
<baude> do i do that in internal/providers/hyperv?
<bgilbert> baude: in meetings for a bit, will ping later
jpn has joined #fedora-coreos
fifofonix has quit [Read error: Connection reset by peer]
jpn has quit [Ping timeout: 255 seconds]
<bgilbert> baude: I'm around now
<bgilbert> baude: this change will require some plumbing, since we haven't had this problem before
<bgilbert> looking
<bgilbert> baude: fetchProviderConfig() in engine.go will need to plumb `e.State` into the fetch function
<bgilbert> baude: which means all the fetch functions will need to have an argument added
<bgilbert> baude: then the State struct will need a field (or fields) added for whatever data needs to be stored
<bgilbert> baude: and then in files.go, runImpl() will need to call a new function that reads the data back out of the state struct and writes the files to disk
<bgilbert> the writing-out-files part should be conditional on the platform ID. we could make a whole API abstraction for it, but tbh the files stage should probably just call directly into the Azure provider to do the writing
<bgilbert> Hyper-V, not Azure
<bgilbert> eh
<bgilbert> maybe it'd make sense to have a generic API callback, actually. otherwise passing the state struct to the fetcher doesn't really make sense in general
<baude> bgilbert, is this something I should skip for now and you guys do given it is going to require plumbing?
<bgilbert> baude: was just thinking about that. I can probably just go ahead and do the plumbing; there's not a lot
<bgilbert> and then you can rebase on top of that
<baude> ok, sgtm
<dustymabe> bgilbert++
<zodbot> dustymabe: Karma for bgilbert changed to 1 (for the current release cycle): https://badges.fedoraproject.org/tags/cookie/any
<baude> bgilbert, would you rather have a now PR and a later PR?
<bgilbert> no, in this case I think let's do it all together
<baude> roger that
<dustymabe> late: release notes for last week's releases: https://github.com/coreos/fedora-coreos-streams/pull/680
<dustymabe> (needs two reviews)
<marmijo[m]> dustymabe: LGTM
apiaseck has quit [Remote host closed the connection]
apiaseck has joined #fedora-coreos
jpn has joined #fedora-coreos
nalind has quit [Quit: bye for now]
apiaseck has quit [Ping timeout: 268 seconds]
mheon has quit [Ping timeout: 255 seconds]
vgoyal has quit [Quit: Leaving]
jpn has quit [Quit: Lost terminal]