<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jan 14, 2021 at 11:06 AM Rafael David Tinoco <<a href="mailto:rafaeldtinoco@ubuntu.com">rafaeldtinoco@ubuntu.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"><u></u><div><div>On Thu, Jan 14, 2021, at 11:41 AM, Jerry Geis wrote:<br></div><blockquote type="cite" id="gmail-m_4351370968934481341qt"><div dir="ltr"><div><div dir="ltr">On Thu, Jan 14, 2021 at 9:25 AM Robie Basak <<a href="mailto:robie.basak@ubuntu.com" target="_blank">robie.basak@ubuntu.com</a>> wrote:<br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>On Thu, Jan 14, 2021 at 09:23:23AM -0500, Jerry Geis wrote:<br></div><div> > What is wrong with the two lines ???  Especially that we dont even get to<br></div><div> > to the autoinstall and break in "late-commands"... It kicks out autoinstall<br></div><div> > completely.<br></div><div> <br></div><div> Are you sure that's valid YAML? If in doubt, I suggest you quote as you<br></div><div> would JSON.<br></div></blockquote><div><br></div><div>Robie - Thanks - I guess I dont know - I thought you could just put a "linux" command on the line to execute.<br></div><div>I dont know JSON - what "quoting" would you suggest?<br></div><div><br></div><div>Jerry<br></div></div></div></blockquote><div><br></div><div>I have a curtin example here:<br></div><div><br></div><div><a href="https://github.com/rafaeldtinoco/provision/blob/master/examples/curtin.yaml" target="_blank">https://github.com/rafaeldtinoco/provision/blob/master/examples/curtin.yaml</a><br></div><div><br></div><div>which I believe is the syntax for autoinstall you're looking for. Give early_commands (commands to the ramdisk OS) and late_commands (commands done to installed OS) sessions and it might help you, or give good directions.<br></div><div><br></div><div>cheers o/<br></div><div><br></div><div>-rafaeldtinoco<br></div></div>-- <br>
Ubuntu-devel-discuss mailing list<br>
<a href="mailto:Ubuntu-devel-discuss@lists.ubuntu.com" target="_blank">Ubuntu-devel-discuss@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss</a></blockquote><div><br></div><div>Many thanks - I now get what you were saying. This is what I'm attempting.</div><div>- ["curtin", "in-target", "--", "sh", "-c", "echo \"network:\n  version: 2\n  renderer: NetworkManager\n\" > /etc/netplan/00-installer-config.yaml"] </div><div><br></div><div><br></div><div>Jerry</div></div></div>