Kickstart Network manager configuration lost at firstboot

Issues related to applications and software problems and general support
Post Reply
basic
Posts: 1
Joined: 2021/10/11 19:36:44

Kickstart Network manager configuration lost at firstboot

Post by basic » 2021/10/11 19:43:07

Hi there,

I have a kickstart intend to setup pppoe connection at installation. The scipt successfully run, but the configuration disappear at first boot.

I have using Centos 8.4.2105

Here is the post session:

Code: Select all

%post --log=/root/post.log

nmcli connection add \
type pppoe \
con-name DSL \
ifname enp1s0 \
autoconnect yes \
username <username> \
password <password>

%end
Here you can see the post log:

Code: Select all

[root@rtr ~]# cat post.log 
Connection 'DSL' (57d7a90c-0145-40e8-a2f6-f7c79ccf0e4a) successfully added.
Here you can see the missing connection after firstboot:

Code: Select all

[root@rtr ~]# nmcli connection show 
NAME           UUID                                  TYPE      DEVICE 
System enp1s0  ba0d6290-fdd4-48c2-ba50-34758bfa77c9  ethernet  --    
Any advice appreciated!

Best Regards,
cs

Post Reply