debian: properly deal with Debian stable/unstable

This commit fixes the if/else block around Debian stable/unstable which
was badly merged during the last rebase.

Change-Id: Ia2eb806da3d7c8d28afffb026f35600c7125d8d7
This commit is contained in:
Gonéri Le Bouder 2014-04-30 19:57:22 +02:00 committed by Ben Nemec
parent b46ece4de9
commit 6da238485d

View File

@ -52,9 +52,6 @@ else
cat << EOF | sudo tee -a ${TARGET_ROOT}/etc/network/interfaces cat << EOF | sudo tee -a ${TARGET_ROOT}/etc/network/interfaces
source-directory /etc/interfaces.d source-directory /etc/interfaces.d
EOF EOF
else # unstable
sudo chroot ${TARGET_ROOT} apt-get install -y $CLOUD_INIT_PACKAGES
sudo sh -c "http_proxy=$http_proxy chroot ${TARGET_ROOT} apt-get update"
apt_get_bp_extra_opts="-t wheezy-backports" apt_get_bp_extra_opts="-t wheezy-backports"
fi fi