mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-23 19:31:31 +00:00
On 24.10 forward, networkd relies on udev for interface setup. This addresses forever pending interfaces in networkd on buildd lxd images.
13 lines
387 B
Bash
Executable File
13 lines
387 B
Bash
Executable File
#!/bin/bash -eux
|
|
|
|
. config/functions
|
|
|
|
chroot_dir=chroot
|
|
|
|
# Networking interface configuration relies udev.
|
|
# In normal LXD images, it's a transitive depends of ubuntu-cloud-minimal
|
|
# seed, which isn't present in buildd images.
|
|
chroot "$chroot_dir" apt-get -y update
|
|
env DEBIAN_FRONTEND=noninteractive chroot "$chroot_dir" apt-get -y install udev
|
|
chroot "$chroot_dir" apt-get -y clean
|