On Thu, Jan 14, 2021 at 11:06 AM Rafael David Tinoco < [email protected]> wrote:
> On Thu, Jan 14, 2021, at 11:41 AM, Jerry Geis wrote: > > On Thu, Jan 14, 2021 at 9:25 AM Robie Basak <[email protected]> > wrote: > > On Thu, Jan 14, 2021 at 09:23:23AM -0500, Jerry Geis wrote: > > What is wrong with the two lines ??? Especially that we dont even get to > > to the autoinstall and break in "late-commands"... It kicks out > autoinstall > > completely. > > Are you sure that's valid YAML? If in doubt, I suggest you quote as you > would JSON. > > > Robie - Thanks - I guess I dont know - I thought you could just put a > "linux" command on the line to execute. > I dont know JSON - what "quoting" would you suggest? > > Jerry > > > I have a curtin example here: > > https://github.com/rafaeldtinoco/provision/blob/master/examples/curtin.yaml > > 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. > > cheers o/ > > -rafaeldtinoco > -- > Ubuntu-devel-discuss mailing list > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss Many thanks - I now get what you were saying. This is what I'm attempting. - ["curtin", "in-target", "--", "sh", "-c", "echo \"network:\n version: 2\n renderer: NetworkManager\n\" > /etc/netplan/00-installer-config.yaml"] Jerry
-- Ubuntu-devel-discuss mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
