The quick answer is that operations in %post must be performed before 'nodectl init'. If that's done, they'll happily stick.

On Mon, Jan 14, 2019, 9:29 PM Brad Riemann <Brad.Riemann@cloud5.com wrote:

Can you send over the whole %post segment i via pastebin? I think i've run across something similar that i addressed, but just want to be sure.


Brad Riemann
Sr. System Architect
Cloud5 Communications


From: jeanbaptiste@nfrance.com <jeanbaptiste@nfrance.com>
Sent: Friday, January 11, 2019 1:51:14 AM
To: users@ovirt.org
Subject: [ovirt-users] oVirt Node install - kickstart postintall
 
CAUTION: This email originated from outside of CLOUD5. Do not click links or open attachments unless you recognize the sender and know the content is safe.


Hello everybody,

Since days, I'm trying to install oVirt (via Foreman) in network mode (TFTP net install).
All is great, but I want to make some actions in postinstall (%post).
Some actions are relatated to /etc/sysconfig/network-interfaces and another action is related to root authorized_keys.

When I try to add pub-key to a created  authorized_keys for root, I work (verified into anaconda.
But after installation and anaconda reboot, I've noticed all my %post actions in /(root) are discared. After reboot, there is nothing in /root/.ssh for example.
Whereas, in /etc, all my modications are preserved.

I thought to a Selinux relative issue, but It is not relative to  Selinux

I miss something. Please can you help to  understand how oVirt install / partition work ?

thanks for all
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/BCQEKHCPSFDEFDPI4OVSXRTJS3BSJH5R/
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/TGT7K3N245SH37OIKCTG75WI5PM46OOI/