Re: autoinstall late-commands

2021-01-14 Thread Jerry Geis
On Thu, Jan 14, 2021 at 11:06 AM Rafael David Tinoco < rafaeldtin...@ubuntu.com> wrote: > On Thu, Jan 14, 2021, at 11:41 AM, Jerry Geis wrote: > > On Thu, Jan 14, 2021 at 9:25 AM Robie Basak > wrote: > > On Thu, Jan 14, 2021 at 09:23:23AM -0500, Jerry Geis wrote: > > What is wrong with the two li

Re: autoinstall late-commands

2021-01-14 Thread Rafael David Tinoco
On Thu, Jan 14, 2021, at 11:41 AM, Jerry Geis wrote: > On Thu, Jan 14, 2021 at 9:25 AM Robie Basak 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-command

Re: autoinstall late-commands

2021-01-14 Thread Jerry Geis
On Thu, Jan 14, 2021 at 9:25 AM Robie Basak 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

Re: autoinstall late-commands

2021-01-14 Thread Robie Basak
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 yo

autoinstall late-commands

2021-01-14 Thread Jerry Geis
So I have a working autoinstall file. I simply add these two lines to late-commands: - echo Section Now installing netplan to NetworkManager - echo -e "network:\n version: 2\n renderer: NetworkManager\n" /target/etc/netplan/00-installer-config.yaml I re-generate my files...and the autoi

Autoinstall late-commands

2021-01-14 Thread Jerry Geis
I have 1 late command: late-commands: - echo 1 > /root/testing After install this file is not present. I would rather not do echo > /targer/root/testing... Is chroot /target not available in late-commands ? How do I execute command(s) in late-commands as a "normal" situation ? Jerry -- Ub