[Bug 1882162] Re: subiquity creates wrong network configuration (wrong NIC name)
I wanted to add to this as well I downloaded this build as well and I can see my DHCP offer the IP address but the Ubunutu server does not ACK the offer or even see it from tcpdump. This is also on unRAID as well using VirtIO network adapter. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882162 Title: subiquity creates wrong network configuration (wrong NIC name) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1882162/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882162] Re: subiquity creates wrong network configuration (wrong NIC name)
Argh. Well in that case I guess you should put net.ifnames=0 on the kernel command line when booting the install media (after --- so it gets propagated to the installed system too). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882162 Title: subiquity creates wrong network configuration (wrong NIC name) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1882162/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882162] Re: subiquity creates wrong network configuration (wrong NIC name)
In the other bug report @psl reported the root cause of this problem: "I tried to create another virtual machine with Ubuntu running on TrueNAS server and I carefully monitored devices during install process. The source of this problem is at I have to use CD-ROM image during install but I have to remove CD-ROM device to start Virtual machine with Ubuntu. TrueNAS doesn't offer any option to use CDROM without disk image (it reports an error when file with ISO image is not found) and I have to remove CD-ROM device (SATA controller). When I remove CD-ROM device, device indexes at PCI bus (lspci output) are changed. ETH device is during install really enp0s5 but once CD-ROM device is removed from virtual machine configuration, it becomes enp0s4. This was not a problem in the past when the first ETH device was always "eth0 " but now it is a problem because any change on PCI can result in different interface name; enp0s5 in the install configuration becomes en0s4 in the run configuration..." I marked it as a duplicate of this one. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882162 Title: subiquity creates wrong network configuration (wrong NIC name) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1882162/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882162] Re: subiquity creates wrong network configuration (wrong NIC name)
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: subiquity (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882162 Title: subiquity creates wrong network configuration (wrong NIC name) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1882162/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882162] Re: subiquity creates wrong network configuration (wrong NIC name)
It looks like your nic changed name after the reboot. I don't know why that would happen. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882162 Title: subiquity creates wrong network configuration (wrong NIC name) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1882162/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1882162] Re: subiquity creates wrong network configuration (wrong NIC name)
** Description changed: I already reported a bug against other tool but I think it should be - filed agains subiquity. + filled against subiquity. https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1881832 Ubuntu server 20.04 and 18.04.4. When I installed them on virtual machine (FreeNAS 11.3, VMware ESXi 6.7), installation was OK but after reboot, virtual machine had no network connectivity, IP address from DHCP server was not requested. NIC interface was enp0s4. I can ask for IP address manualy with "sudo dhclient enp0s4" and it works! I think that issue is that subiquity creates wrong network configuration, this is file after install. Nnote, that enp0s5 is configured with DHCP4, but real NIC is enp0s4... /etc/netplan/00-installer-config.yaml # # This is the network config written by 'subiquity' network: - ethernets: - enp0s5: - dhcp4: true - version: 2 + ethernets: + enp0s5: + dhcp4: true + version: 2 I fixed this issue by replacing "enp0s5" with "enp0s4" in file /etc/netplan/00-installer-config.yaml. Rebooted machine asked for IP address from DHCP server and I like it... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882162 Title: subiquity creates wrong network configuration (wrong NIC name) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1882162/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs