Hi Dusty,
Thanks for the hints. They were very helpful. I did the following things
to get it to work correctly:
1. I renamed my user account to "core2" - this fixed first part of the
problem. This also included the updated group info.
2. I removed the /etc/hosts file creation as it was useless and
conflicting with the actual generation.
3. modifying just /usr/lib/ignition/user.ign and rerunning coreos-installer
did not work. I started with PXE boot and reinstalled the image with
the updated ignition files.
4. *fcct* tool *-o *option does not overwrite the file. It tries to
incorrectly update the JSON file and messes it up. So, forcefully removing
the JSON/ign file and recreating it from YAML file works. - maybe I will
file a bug against this.
Thanks again for your help
/Shivaram
On Thu, Aug 22, 2019 at 10:42 AM Dusty Mabe <dusty(a)dustymabe.com> wrote:
On 8/21/19 7:32 PM, Shivaram Mysore wrote:
>
> variant: fcos
> version: 1.0.0
> passwd:
> users:
> - name: core
> ssh_authorized_keys:
> - ssh-rsa AAAAB1LR7 coreos_metal
> home_dir: /home/core
> no_create_home: false
> primary_group: core
> groups:
> - wheel
> - sudo
> - docker
> - rkt
> - systemd-journal
> - portage
Some of these groups don't exist on FCOS. Here is the default group list
we use
for the `core` user (i.e. if you don't specify your own core user):
https://github.com/coreos/fedora-coreos-config/blob/testing-devel/overlay...
Note that the `core` group gets created when the `core` user is created so
you don't
need to specify that group.
> shell: /bin/bash
> storage:
> files:
> - path: /etc/hosts
> user:
> name: root
> group:
> name: root
> contents:
> source:
http://10.20.30.2:8000/hosts
> compression: null
> mode: 0644
> _______________________________________________
> CoreOS mailing list -- coreos(a)lists.fedoraproject.org
> To unsubscribe send an email to coreos-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
https://lists.fedoraproject.org/archives/list/coreos@lists.fedoraproject.org
>