Hi again folks,

Adding overwrite: true did the trick :) 

    - path: /etc/containers/registries.conf
      overwrite: true
      contents:
        inline: |
          [registries.search]
          registries = ['docker.io', 'registry.fedoraproject.org', 'registry.access.redhat.com', 'registry.centos.org', 'quay.io']
          [registries.insecure]
          registries = ['myprivate.registry.local']
          [registries.block]
          registries = []

Thanks for your help

El lun., 3 feb. 2020 a las 22:08, Dusty Mabe (<dusty@dustymabe.com>) escribió:
On 2/3/20 1:52 PM, Jorge Rúa wrote:
> Hi there,

Hi! :)

>
> I am trying to do something similar to what Dusty show in Devconf, but instead of pulling etcd from quay.io <http://quay.io> using our internal registry and different image.
>
> What i am doing is adding an storage stanza in ignition file with the registries.conf content. But for some reason it goes into emergency target. No need to say the ignition file is validated before.

Once you get into emergency.target can you see any errors? `journalctl -t ignition` might show you
some.

Can you share some or all of your ignition config?

>
> What would you suggest to modify this file so podman is able to pull an image from an internal registry?

It sounds like you are doing the right thing. Though it's been a while since I mucked with registries.
There does exist /etc/containers/registries.d/. I'll have to ask someone from the podman team, but maybe
you should just be dropping a file in there instead of overwriting /etc/containers/registries.conf.

Dusty