fosshostorg / aarch64

Dashboard and API for https://console.aarch64.com
https://console.aarch64.com
GNU Affero General Public License v3.0
12 stars 7 forks source link

Networking Breaks after apt-update and reboot #28

Closed lanefu closed 3 years ago

lanefu commented 3 years ago

Provisioned Ubuntu 20.10 VM.. performed apt-update and reboot. network interface doesn't come back up.

lanefu commented 3 years ago

looks like it's because predictable interfaces names is enabled (ubuntu default), but first boot with clouding is using eth0.

natesales commented 3 years ago

We should be able to ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules in the cloud-init startup command block for Ubuntu. I'll give this a try later today.

lanefu commented 3 years ago

I didn't have much luck with the udev rule to dev null.. its may require me to create new root disk image...

this worked tho

sed -i 's/^GRUB_CMDLINE_LINUX_DEFAULT.*/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash net.ifnames=0"/' /etc/default/grub
/usr/sbin/update-grub