Skip to content

Commit

Permalink
ubuntu: iproute is now called iproute2
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
  • Loading branch information
stgraber committed Sep 3, 2013
1 parent c66e9b0 commit d08c3aa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion templates/lxc-ubuntu.in
Expand Up @@ -577,8 +577,14 @@ post_process()
write_sourceslist $rootfs $hostarch "multiarch"

# Finally update the lists and install upstart using the host architecture
HOST_PACKAGES="upstart:${hostarch} mountall:${hostarch} isc-dhcp-client:${hostarch}"
chroot $rootfs apt-get update
chroot $rootfs apt-get install --force-yes -y --no-install-recommends upstart:${hostarch} mountall:${hostarch} iproute:${hostarch} isc-dhcp-client:${hostarch}
if chroot $rootfs dpkg -l iproute2 | grep -q ^ii; then
HOST_PACKAGES="$HOST_PACKAGES iproute2:${hostarch}"
else
HOST_PACKAGES="$HOST_PACKAGES iproute:${hostarch}"
fi
chroot $rootfs apt-get install --force-yes -y --no-install-recommends $HOST_PACKAGES
fi

# rmdir /dev/shm for containers that have /run/shm
Expand Down

0 comments on commit d08c3aa

Please sign in to comment.