<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 7, 2021 at 11:03 AM Jerry Geis <<a href="mailto:jerry.geis@gmail.com">jerry.geis@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">HI I am doing autoconfig setup of a box. All that is working.<div>At the end I want to run the NetworkManager to set the "static" IP of the box.</div><div>I logged the following commands before the reboot.</div><div><br></div><div>nmcli connection modify "Wired connection 1" ipv4.method manual ipv6.method ignore autoconnect yes ipv4.addr <a href="http://192.168.123.40/24" target="_blank">192.168.123.40/24</a> gw4 192.168.123.1 ipv4.dns 8.8.8.8<br><br></div><div>systemctl restart NetworkManager<br></div><div><br></div><div><br></div><div>But it does not take.</div><div><br></div><div>Is there something special "DURING autoinstall" that I have to do first to make network-manager be alive and accept my command? </div><div><br></div><div>During autoinstall I am setting up the netplan to be NetworkManager. I do this in the late-commands:</div><div>["curtin", "in-target", "--", "sh", "-c", "echo \"network:\n  version: 2\n  renderer: NetworkManager\n\" > /etc/netplan/00-installer-config.yaml"]<br></div><div><br></div><div>Thanks,</div><div><br></div><div>Jerry</div></div></blockquote><div><br></div><div>Tried a number of things - could not get it to work.  Then it came to me to set the network AFTER reboot - that works.</div><div><br></div><div>Jerry</div><div> </div></div></div>