autoinstall network question

Jerry Geis jerry.geis at gmail.com
Thu Jan 14 23:12:13 UTC 2021


Thanks - I never new the --- had that behavior.

Jerry

On Thu, Jan 14, 2021 at 5:55 PM Michael Hudson-Doyle <
michael.hudson at canonical.com> wrote:

>
>
> On Fri, 15 Jan 2021 at 02:23, Jerry Geis <jerry.geis at gmail.com> wrote:
>
>>
>>
>> On Thu, Jan 14, 2021 at 7:42 AM Jerry Geis <jerry.geis at gmail.com> wrote:
>>
>>> On my boot line for append I have biosdevname=0 net.ifnames=0 (using
>>> 20.04 LTS).
>>> append  initrd=/casper/initrd debian-installer/local=en_US autoinstall
>>> ds=nocloud;s=/cdrom/          quiet splash biosdevname=0 net.ifnames=0 ---
>>>
>>> After the auto install I have no network.
>>>
>>>  network:
>>>     network:
>>>       version: 2
>>>       ethernets:
>>>         eth0:
>>>           dhcp4: yes
>>>           dhcp-identifier: mac
>>>
>>> This is my network section.
>>>
>>> So now I do "dmesg | grep eth" and it says enp1s0 is the network.
>>> Why is that ? I told the kernel to use eth0 type names ?
>>>
>>> Jerry
>>>
>>
>>
>> Ok - so I discovered that while I boot autoinstall with the
>> "biosdevname=0 net.ifnames=0" - this does NOT - automatically get set
>> during the install and then reboot.
>>
>
> It will if you put it after the --- characters.
>
> Cheers,
> mwh
>
>
>> If I login and manually add them to the /etc/default/grug file and reboot
>> it works.  So question then is how do my "late-commands" - update the
>> /etc/default/grub ?
>>
>> I found an example where it using /target and curtin in-target --target
>> /target update-grub - - --- WOW - can I not do "chroot /target" and just
>> have normal commands ?
>>
>> Jerry
>> --
>> Ubuntu-devel-discuss mailing list
>> Ubuntu-devel-discuss at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20210114/b3f489eb/attachment.html>


More information about the Ubuntu-devel-discuss mailing list